Skip to content

Commit bc10850

Browse files
authored
Use more distinct characters for 'skip' and 'pass w/known issues' symbols (#983)
This refines the characters used for the `.fail` and `.pass(knownIssueCount:)` symbols to make them more distinct, especially when rendered in a console without ANSI colors enabled. ### 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 44022f4 commit bc10850

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/Testing/Events/Recorder/Event.Symbol.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extension Event.Symbol {
6262
("\u{10065F}", "arrow.triangle.turn.up.right.diamond.fill")
6363
case let .pass(knownIssueCount):
6464
if knownIssueCount > 0 {
65-
("\u{100884}", "xmark.diamond.fill")
65+
("\u{100883}", "xmark.diamond")
6666
} else {
6767
("\u{10105B}", "checkmark.diamond.fill")
6868
}
@@ -118,8 +118,8 @@ extension Event.Symbol {
118118
// Unicode: WHITE DIAMOND
119119
return "\u{25C7}"
120120
case .skip:
121-
// Unicode: HEAVY BALLOT X
122-
return "\u{2718}"
121+
// Unicode: HEAVY ROUND-TIPPED RIGHTWARDS ARROW
122+
return "\u{279C}"
123123
case let .pass(knownIssueCount):
124124
if knownIssueCount > 0 {
125125
// Unicode: HEAVY BALLOT X
@@ -156,8 +156,8 @@ extension Event.Symbol {
156156
// Unicode: LOZENGE
157157
return "\u{25CA}"
158158
case .skip:
159-
// Unicode: MULTIPLICATION SIGN
160-
return "\u{00D7}"
159+
// Unicode: HEAVY ROUND-TIPPED RIGHTWARDS ARROW
160+
return "\u{279C}"
161161
case let .pass(knownIssueCount):
162162
if knownIssueCount > 0 {
163163
// Unicode: MULTIPLICATION SIGN

0 commit comments

Comments
 (0)