| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -44,11 +44,13 @@ function validateNodePrintHelp() { | |||
| 44 | 44 | function testForSubstring(options) { | |
| 45 | 45 | if (options.compileConstant) { | |
| 46 | 46 | options.flags.forEach((flag) => { | |
| 47 | - assert.strictEqual(stdOut.indexOf(flag) !== -1, true); | ||
| 47 | + assert.strictEqual(stdOut.indexOf(flag) !== -1, true, | ||
| 48 | + `Missing flag ${flag} in ${stdOut}`); | ||
| 48 | 49 | }); | |
| 49 | 50 | } else { | |
| 50 | 51 | options.flags.forEach((flag) => { | |
| 51 | - assert.strictEqual(stdOut.indexOf(flag), -1); | ||
| 52 | + assert.strictEqual(stdOut.indexOf(flag), -1, | ||
| 53 | + `Unexpected flag ${flag} in ${stdOut}`); | ||
| 52 | 54 | }); | |
| 53 | 55 | } | |
| 54 | 56 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments