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 3a7b49b commit ec2207aCopy full SHA for ec2207a
1 file changed
test/parallel/test-util-inspect.js
@@ -2318,11 +2318,11 @@ assert.strictEqual(
2318
);
2319
rejection.catch(() => {});
2320
2321
- // Verify that aliases do not show up as key while checking `inspect.colors`.
+ // Verify that aliases should show up as key while checking `inspect.colors`.
2322
const colors = Object.keys(inspect.colors);
2323
const aliases = Object.getOwnPropertyNames(inspect.colors)
2324
.filter((c) => !colors.includes(c));
2325
- assert(!colors.includes('grey'));
+ assert(colors.includes('grey'));
2326
assert(colors.includes('gray'));
2327
// Verify that all aliases are correctly mapped.
2328
for (const alias of aliases) {
0 commit comments