mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-14 23:41:14 +02:00
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:
committed by
Julian Lam
parent
0a647316e9
commit
84e228bbb8
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user