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:
heeeunkimmm authored and Myles Borins committed 2017-10-11 02:06:01 -04:00
1 parent 0286da0992
commit 768060d5e7
1 file changed
+1 -1
+1 -1
View File
@@ -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}`);
}