Skip to content

Commit 6e25b08

Browse files
ryshep111MylesBorins
ryshep111
authored andcommitted
test: clarify assertion failure
PR-URL: #15889 Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 6a44442 commit 6e25b08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/pummel/test-tls-connect-memleak.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ const fixtures = require('../common/fixtures');
3333
assert.strictEqual(
3434
typeof global.gc,
3535
'function',
36-
'Run this test with --expose-gc'
36+
`Type of global.gc is not a function. Type: ${typeof global.gc}.` +
37+
' Run this test with --expose-gc'
3738
);
3839

3940
tls.createServer({

0 commit comments

Comments
 (0)