Skip to content

Commit

Permalink
fix tests – use same proto
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Oct 23, 2020
1 parent 6487944 commit 986e3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test('concat() a varying number of buffers', function (t) {

test('concat() works on Uint8Array instances', function (t) {
var result = B.concat([new Uint8Array([1, 2]), new Uint8Array([3, 4])])
var expected = Buffer.from([1, 2, 3, 4])
var expected = B.from([1, 2, 3, 4])
t.deepEqual(result, expected)
t.end()
})
Expand Down

0 comments on commit 986e3ed

Please sign in to comment.