test: changed buffer-zero output
Added interpolated strings to display the error value PR-URL: https://github.com/nodejs/node/pull/15926 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
8baa325185
commit
3f95a8a69e
@ -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}`);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user