Browse Source

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 <ruben@bridgewater.de>
v6.x-staging
Gene Wu 7 years ago
committed by Myles Borins
parent
commit
f469169298
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 2
      test/parallel/test-zlib-from-gzip-with-trailing-garbage.js

2
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`
);
}));

Loading…
Cancel
Save