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 <[email protected]>
  • Loading branch information
garlicbrie authored and MylesBorins committed Oct 25, 2017
1 parent f8bc5ab commit 4a664ce
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 4a664ce

Please sign in to comment.