| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a5b3e45 commit d0b4c39
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,5 @@ const linesRead = []; | |||
| 14 | 14 | rli.on('line', (line) => linesRead.push(line)); | |
| 15 | 15 | ||
| 16 | 16 | rli.on('close', common.mustCall(() => { | |
| 17 | - const regexpLines = str.split(/^/m).map((line) => line.trim()).filter(Boolean); | ||
| 18 | - // Readline interprets different lines in the same way js regular expressions do | ||
| 19 | - assert.deepStrictEqual(linesRead, regexpLines); | ||
| 17 | + assert.deepStrictEqual(linesRead, ['012', '345', '67', '89', 'ABC', 'DEF']); | ||
| 20 | 18 | })); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments