Skip to content

Commit

Permalink
test: clarify assertion failure
Browse files Browse the repository at this point in the history
PR-URL: #15889
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
ryshep111 authored and BridgeAR committed Oct 9, 2017
1 parent b5f3054 commit 92d3269
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/pummel/test-tls-connect-memleak.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ const fixtures = require('../common/fixtures');
assert.strictEqual(
typeof global.gc,
'function',
'Run this test with --expose-gc'
`Type of global.gc is not a function. Type: ${typeof global.gc}.` +
' Run this test with --expose-gc'
);

tls.createServer({
Expand Down

0 comments on commit 92d3269

Please sign in to comment.