We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f56fd39 commit b8698bdCopy full SHA for b8698bd
Tests/FoundationEssentialsTests/AttributedString/AttributedStringTests.swift
@@ -2458,8 +2458,9 @@ E {
2458
struct EmptyScope : AttributeScope {
2459
2460
}
2461
- var emptyIterator = EmptyScope.attributeKeys.makeIterator()
2462
- #expect(emptyIterator.next() == nil)
+ for key in EmptyScope.attributeKeys {
+ Issue.record("Empty scope should not have produced key \(key)")
2463
+ }
2464
2465
#endif // FOUNDATION_FRAMEWORK
2466
0 commit comments