You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a severity level for issues, and a 'warning' severity (un-revert #931) (#952)
This un-reverts #950, effectively reintroducing the changes recently
landed in #931.
The revert was needed because it revealed a latent bug in the Swift
compiler, tracked by swiftlang/swift#79304. I
reproduced that failure and included a workaround in the second commit
on this PR.
### 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.
stringValue:"\(_capitalizedTitle(for: test))\(testName) recorded a\(known) issue\(atSourceLocation): \(issue.kind)",
455
+
stringValue:"\(_capitalizedTitle(for: test))\(testName) recorded \(subject)\(atSourceLocation): \(issue.kind)",
439
456
conciseStringValue:String(describing: issue.kind)
440
457
)
441
458
}else{
442
459
Message(
443
460
symbol: symbol,
444
-
stringValue:"\(_capitalizedTitle(for: test))\(testName) recorded a\(known) issue with \(parameterCount.counting("argument"))\(labeledArguments)\(atSourceLocation): \(issue.kind)",
461
+
stringValue:"\(_capitalizedTitle(for: test))\(testName) recorded \(subject) with \(parameterCount.counting("argument"))\(labeledArguments)\(atSourceLocation): \(issue.kind)",
0 commit comments