mirror of https://github.com/nodejs/node.git
test: clarify assertion failure
PR-URL: https://github.com/nodejs/node/pull/15889 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>pull/15923/merge
parent
b5f3054eb6
commit
92d326994d
|
@ -33,7 +33,8 @@ const fixtures = require('../common/fixtures');
|
||||||
assert.strictEqual(
|
assert.strictEqual(
|
||||||
typeof global.gc,
|
typeof global.gc,
|
||||||
'function',
|
'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({
|
tls.createServer({
|
||||||
|
|
Loading…
Reference in New Issue