Commit eb19ecd
Remove trailing carriage returns from answers (#559)
`comms.Question` removes the tailing '\n' (added when pressing enter),
hence callers expect a result where the result of pressing "enter" when
answering is removed.
However, on Windows, pressing enter adds not only `\n` but `\r\n`, causing
the code that compare the output with a given string work only on unix and
ios. (causing, e.g. #558)1 parent 73a9898 commit eb19ecd
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments