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 MylesBorins committed Oct 11, 2017
1 parent 6a44442 commit 6e25b08
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 6e25b08

Please sign in to comment.