| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a5c0bc4 commit 2025eaf
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -50,7 +50,7 @@ require('../common'); | |||
| 50 | 50 | // assert all "canonical" flags begin with dash(es) | |
| 51 | 51 | { | |
| 52 | 52 | process.allowedNodeEnvironmentFlags.forEach((flag) => { | |
| 53 | - assert.strictEqual(/^--?[a-z8_-]+$/.test(flag), true); | ||
| 53 | + assert(/^--?[a-z8_-]+$/.test(flag), `Unexpected format for flag ${flag}`); | ||
| 54 | 54 | }); | |
| 55 | 55 | } | |
| 56 | 56 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments