test: changed buffer-zero output · nodejs/node@4a664ce

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 4a664ce

dev-hkimMylesBorins

authored and

committed

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

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)