From c5c51ebae44a56fb10cabfaafc58a1cd08eb12e4 Mon Sep 17 00:00:00 2001 From: Gene Wu Date: Fri, 6 Oct 2017 10:14:58 -0700 Subject: [PATCH] test: improve asset msg in test Add result to part of assert message. PR-URL: https://github.com/nodejs/node/pull/15918 Reviewed-By: Ruben Bridgewater --- test/parallel/test-zlib-from-gzip-with-trailing-garbage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-zlib-from-gzip-with-trailing-garbage.js b/test/parallel/test-zlib-from-gzip-with-trailing-garbage.js index e5588e75f2f183..48d9e441429eeb 100644 --- a/test/parallel/test-zlib-from-gzip-with-trailing-garbage.js +++ b/test/parallel/test-zlib-from-gzip-with-trailing-garbage.js @@ -19,7 +19,7 @@ zlib.gunzip(data, common.mustCall((err, result) => { assert.strictEqual( result.toString(), 'abcdef', - 'result should match original string' + `result '${result.toString()}' should match original string` ); }));