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>
This commit is contained in:
Gene Wu 2017-10-06 10:14:58 -07:00 committed by Ruben Bridgewater
parent 261ae7f58a
commit c80d9d6a93
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

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