diff --git a/test/pummel/test-tls-connect-memleak.js b/test/pummel/test-tls-connect-memleak.js index 4425e8d04eb42c..1ef131d6876ac4 100644 --- a/test/pummel/test-tls-connect-memleak.js +++ b/test/pummel/test-tls-connect-memleak.js @@ -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({