From 9bf91e4db548a00aa2c0b988933e711cfb9a7dde Mon Sep 17 00:00:00 2001 From: heeeunkimmm Date: Fri, 6 Oct 2017 10:26:30 -0700 Subject: [PATCH] test: changed buffer-zero output Added interpolated strings to display the error value --- test/parallel/test-buffer-zero-fill-reset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-buffer-zero-fill-reset.js b/test/parallel/test-buffer-zero-fill-reset.js index 3076b25ce637fc..334ee1b618b919 100644 --- a/test/parallel/test-buffer-zero-fill-reset.js +++ b/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}`); }