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>
v9.x-staging
Gene Wu 8 years ago
committed by Ruben Bridgewater
parent
commit
c80d9d6a93
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  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( assert.strictEqual(
result.toString(), result.toString(),
'abcdef', 'abcdef',
'result should match original string' `result '${result.toString()}' should match original string`
); );
})); }));

Loading…
Cancel
Save