This repository was archived by the owner on Sep 8, 2022. It is now read-only.
Commit f66558b
committed
Use readOptionFile and don't trim aggressively
Conventionally, a multiline file means take each line
as an element, no quote parsing required. To support
trailing spaces, do not aggressively trim the input;
that was probably to avoid confusion over a nonempty
line consistently only of spaces; but still do drop
empty elements, that is, a line of zero length.
An empty line is useful to force multiline handling
of a single element. (A single line is split on space.)1 parent 3e679d3 commit f66558b
File tree
2 files changed
+7
-8
lines changed- src/main/scala/scala/tools/partest
- nest
2 files changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
449 | | - | |
| 448 | + | |
450 | 449 | | |
451 | | - | |
| 450 | + | |
452 | 451 | | |
453 | 452 | | |
454 | 453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
0 commit comments