Commit 4be1dfe
authored
Fix multiline comments not rendering correctly at CLI. (#850)
This PR fixes a bug where a multi-line comment or message written to
`stderr` would only have its first line in grey and would not write
atomically, resulting in odd/incorrect output. All messages generated by
a test event are now written to `stderr` atomically.
Resolves rdar://134519515.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.1 parent 0098422 commit 4be1dfe
File tree
2 files changed
+30
-20
lines changed- Sources/Testing/Events/Recorder
2 files changed
+30
-20
lines changedLines changed: 29 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
308 | | - | |
309 | 307 | | |
310 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
311 | 320 | | |
312 | | - | |
313 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
314 | 334 | | |
315 | | - | |
316 | | - | |
| 335 | + | |
| 336 | + | |
317 | 337 | | |
318 | 338 | | |
| 339 | + | |
| 340 | + | |
319 | 341 | | |
320 | 342 | | |
321 | 343 | | |
| |||
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 95 | + | |
108 | 96 | | |
109 | 97 | | |
110 | 98 | | |
| |||
0 commit comments