Permalink
Browse files

test: changed buffer-zero output

Added interpolated strings to display the error value

PR-URL: #15926
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information...
heeeunkimmm authored and BridgeAR committed Oct 6, 2017
1 parent 8baa325 commit 3f95a8a69e32bcb5460199444cc993373408a434
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-buffer-zero-fill-reset.js
@@ -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 3f95a8a

Please sign in to comment.