Skip to content

Commit c7c3942

Browse files
committed
Improve formatting of the "Console output" section: fix indentation and use Unicode status symbols instead of SF symbols which don't render on a web page
1 parent 8c9787a commit c7c3942

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

proposals/testing/0013-issue-severity-warning.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,17 +176,19 @@ Example of an `issueRecorded` event in the json output:
176176

177177
### Console output
178178

179-
When there is an issue recorded with severity warning the output looks like this:
179+
When there is an issue recorded with severity warning, such as using the following code:
180180

181181
```swift
182-
Issue.record("My comment", severity: .warning)
182+
Issue.record("My comment", severity: .warning)
183183
```
184184

185+
the console output will look like the following:
186+
185187
```
186-
􀟈 Test "All elements of two ranges are equal" started.
187-
􀄣 Test "All elements of two ranges are equal" recorded a warning at ZipTests.swift:32:17: Issue recorded
188-
􀄵 My comment
189-
􁁛 Test "All elements of two ranges are equal" passed after 0.001 seconds with 1 warning.
188+
Test "All elements of two ranges are equal" started.
189+
Test "All elements of two ranges are equal" recorded a warning at ZipTests.swift:32:17: Issue recorded
190+
My comment
191+
Test "All elements of two ranges are equal" passed after 0.001 seconds with 1 warning.
190192
```
191193

192194
### Trying this out

0 commit comments

Comments
 (0)