fix: Swift test compilation error with allSatisfy closure

This commit is contained in:
Peter Steinberger 2025-06-08 02:03:17 +01:00
parent c9ac341e08
commit d5df3ec53e

View file

@ -283,7 +283,7 @@ struct JSONOutputTests {
for errorCode in errorCodes {
#expect(!errorCode.rawValue.isEmpty)
#expect(errorCode.rawValue.allSatisfy(\.isASCII))
#expect(errorCode.rawValue.allSatisfy { $0.isASCII })
}
}
}