| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -104,15 +104,15 @@ const testFixtures = fixtures.path('test-runner'); | |||
| 104 | 104 | ['--print', 'console.log("should not print")', '--test'], | |
| 105 | 105 | ]; | |
| 106 | 106 | ||
| 107 | - flags.forEach((args) => { | ||
| 107 | + for (const args of flags) { | ||
| 108 | 108 | const child = spawnSync(process.execPath, args); | |
| 109 | 109 | ||
| 110 | 110 | assert.notStrictEqual(child.status, 0); | |
| 111 | 111 | assert.strictEqual(child.signal, null); | |
| 112 | 112 | assert.strictEqual(child.stdout.toString(), ''); | |
| 113 | 113 | const stderr = child.stderr.toString(); | |
| 114 | 114 | assert.match(stderr, /--test/); | |
| 115 | - }); | ||
| 115 | + } | ||
| 116 | 116 | } | |
| 117 | 117 | ||
| 118 | 118 | { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments