Skip to content

Commit

Permalink
test: clarify assertion failure
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#15889
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
ryshep111 authored and addaleax committed Oct 11, 2017
1 parent de9f2f9 commit 20c47d6
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 20c47d6

Please sign in to comment.