Skip to content

Commit c279c34

Browse files
committed
Removed warning
1 parent d2479ef commit c279c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/streams.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ test('nil processing works', function (t) {
199199
t.equal(decodedItemIndex, 2)
200200
})
201201

202-
decoder.write(new Buffer([0xc0, 0xc2]))
202+
decoder.write(Buffer.from([0xc0, 0xc2]))
203203
decoder.end()
204204
})
205205

0 commit comments

Comments
 (0)