We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5c0bc4 commit 2025eafCopy full SHA for 2025eaf
test/parallel/test-process-env-allowed-flags.js
@@ -50,7 +50,7 @@ require('../common');
50
// assert all "canonical" flags begin with dash(es)
51
{
52
process.allowedNodeEnvironmentFlags.forEach((flag) => {
53
- assert.strictEqual(/^--?[a-z8_-]+$/.test(flag), true);
+ assert(/^--?[a-z8_-]+$/.test(flag), `Unexpected format for flag ${flag}`);
54
});
55
}
56
0 commit comments