Skip to content

Commit 1950490

Browse files
committed
fix(test): oops when removing safe-buffer
1 parent 10d5d9a commit 1950490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/benchmarks/content.read.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const read = require('../../lib/content/read')
1212

1313
let buf = []
1414
for (let i = 0; i < Math.pow(2, 8); i++) {
15-
buf.push(Buffer.alloc)
15+
buf.push(Buffer.alloc(8, i))
1616
}
1717

1818
const CONTENT = Buffer.concat(buf, buf.length * 8)

0 commit comments

Comments
 (0)