Skip to content

Commit

Permalink
replace deprecated New Buffer() with Buffer.from()
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysarson authored and boneskull committed Apr 18, 2018
1 parent 471ab31 commit a6115ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/fixtures/diffs/diffs.fixture.js
Expand Up @@ -106,8 +106,8 @@ describe('diffs', function () {
});

it('should display diff by data and not like an objects', function () {
actual = new Buffer([0x01]);
expected = new Buffer([0x02]);
actual = Buffer.from([0x01]);
expected = Buffer.from([0x02]);
expect(actual).to.eql(expected);
});
});

0 comments on commit a6115ac

Please sign in to comment.