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