From 6e25b081b6e8a1044ba2cb46e3be4c6ad55e80ad Mon Sep 17 00:00:00 2001 From: ryshep111 Date: Fri, 6 Oct 2017 13:06:28 -0400 Subject: [PATCH] test: clarify assertion failure PR-URL: https://github.com/nodejs/node/pull/15889 Reviewed-By: Ruben Bridgewater --- test/pummel/test-tls-connect-memleak.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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({