From 733f5c5118a2c4a2c677eb3c5de77c775e4593fa Mon Sep 17 00:00:00 2001 From: Colin Casey Date: Mon, 10 Jan 2022 22:56:50 -0400 Subject: [PATCH] Update node_util_fallback_test.js reworded some of the test names to make the intent clearer --- test/node_util_fallback_test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/node_util_fallback_test.js b/test/node_util_fallback_test.js index dc7e2e7b..ef4a325c 100644 --- a/test/node_util_fallback_test.js +++ b/test/node_util_fallback_test.js @@ -53,7 +53,7 @@ vows Symbol.for("nodejs.util.inspect.custom") || util.inspect.custom ); }, - "should not be null in a node environment when custom inspect symbol cannot be retrieved": function() { + "should not be null in a node environment when custom inspect symbol cannot be retrieved (< node v10.12.0)": function() { assert.equal( getCustomInspectSymbol({ lookupCustomInspectSymbol: () => null @@ -61,7 +61,7 @@ vows Symbol.for("nodejs.util.inspect.custom") || util.inspect.custom ); }, - "should not be null in a non-node environment": function() { + "should be null in a non-node environment since 'util' features cannot be relied on": function() { assert.equal( getCustomInspectSymbol({ lookupCustomInspectSymbol: () => null,