fix(deps): update dependency diff to v4 (#7198)

* fix(deps): update dependency diff to v4

* chore(deps): +diff@4.0.1

* fix: test for #7198
This commit is contained in:
renovate[bot]
2019-01-07 12:07:28 -05:00
committed by Julian Lam
parent 0a647316e9
commit 84e228bbb8
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@
"cropperjs": "^1.2.2",
"csurf": "^1.9.0",
"daemon": "^1.1.0",
"diff": "^3.4.0",
"diff": "^4.0.1",
"express": "^4.16.2",
"express-session": "^1.15.6",
"express-useragent": "^1.0.12",

View File

@@ -464,7 +464,7 @@ describe('Post\'s', function () {
it('should load diffs and reconstruct post', function (done) {
posts.diffs.load(replyPid, 0, voterUid, function (err, data) {
assert.ifError(err);
assert.equal(data.content, 'A reply to edit\n');
assert.equal(data.content, 'A reply to edit');
done();
});
});