Skip to content

Commit

Permalink
test: changed buffer-zero output
Browse files Browse the repository at this point in the history
Added interpolated strings to display the error value

PR-URL: #15926
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
garlicbrie authored and MylesBorins committed Oct 17, 2017
1 parent 3371ee8 commit c53ed73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-buffer-zero-fill-reset.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ function testUint8Array(ui) {
for (let i = 0; i < 100; i++) {
Buffer.alloc(0);
const ui = new Uint8Array(65);
assert.ok(testUint8Array(ui), 'Uint8Array is not zero-filled');
assert.ok(testUint8Array(ui), `Uint8Array is not zero-filled: ${ui}`);
}

0 comments on commit c53ed73

Please sign in to comment.