From 84e228bbb8541e2f45ea726482e42ef60329aa29 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 7 Jan 2019 12:07:28 -0500 Subject: [PATCH] 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 --- install/package.json | 2 +- test/posts.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/package.json b/install/package.json index a884cce0b4..0227aefc18 100644 --- a/install/package.json +++ b/install/package.json @@ -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", diff --git a/test/posts.js b/test/posts.js index 4036bc8427..c6678b30fc 100644 --- a/test/posts.js +++ b/test/posts.js @@ -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(); }); });