We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 725a66a commit c9b4b43Copy full SHA for c9b4b43
test/parallel/test-util-inspect.js
@@ -895,6 +895,10 @@ assert.strictEqual(
895
896
// Test boxed primitives output the correct values.
897
assert.strictEqual(util.inspect(new String('test')), "[String: 'test']");
898
+assert.strictEqual(
899
+ util.inspect(new String('test'), { colors: true }),
900
+ "\u001b[32m[String: 'test']\u001b[39m"
901
+);
902
assert.strictEqual(
903
util.inspect(Object(Symbol('test'))),
904
'[Symbol: Symbol(test)]'
0 commit comments