Skip to content

Commit 4a664ce

Browse files
garlicbrieMylesBorins
authored andcommitted
test: changed buffer-zero output
Added interpolated strings to display the error value PR-URL: #15926 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent f8bc5ab commit 4a664ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-buffer-zero-fill-reset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ function testUint8Array(ui) {
1515
for (let i = 0; i < 100; i++) {
1616
Buffer.alloc(0);
1717
const ui = new Uint8Array(65);
18-
assert.ok(testUint8Array(ui), 'Uint8Array is not zero-filled');
18+
assert.ok(testUint8Array(ui), `Uint8Array is not zero-filled: ${ui}`);
1919
}

0 commit comments

Comments
 (0)