File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,10 @@ extension Issue.Kind: CustomStringConvertible {
171
171
public var description : String {
172
172
switch self {
173
173
case . unconditional:
174
- " Unconditionally failed "
174
+ // Although the failure is unconditional at the point it is recorded, the
175
+ // code that recorded the issue may not be unconditionally executing, so
176
+ // we shouldn't describe it as unconditional (we just don't know!)
177
+ " Issue recorded "
175
178
case let . expectationFailed( expectation) :
176
179
if let mismatchedErrorDescription = expectation. mismatchedErrorDescription {
177
180
" Expectation failed: \( mismatchedErrorDescription) "
@@ -457,7 +460,7 @@ extension Issue.Kind.Snapshot: CustomStringConvertible {
457
460
public var description : String {
458
461
switch self {
459
462
case . unconditional:
460
- " Unconditionally failed "
463
+ " Issue recorded "
461
464
case let . expectationFailed( expectation) :
462
465
if let mismatchedErrorDescription = expectation. mismatchedErrorDescription {
463
466
" Expectation failed: \( mismatchedErrorDescription) "
You can’t perform that action at this time.
0 commit comments