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.
2 parents 54627fb + 2815cf9 commit 0aa5beeCopy full SHA for 0aa5bee
test/stdlib/StringIndex.swift
@@ -1243,7 +1243,11 @@ if #available(SwiftStdlib 6.1, *) {
1243
suite.test("String index debugDescription backdeployment") {
1244
// Note: no availability check
1245
let str = "i\u{308}"
1246
- expectEqual(str.startIndex.debugDescription, "0[any]")
+ // Result can be `any` or `unknown` depending on inlining behavior
1247
+ expectTrue(
1248
+ str.startIndex.debugDescription == "0[any]" ||
1249
+ str.startIndex.debugDescription == "0[unknown]"
1250
+ )
1251
expectEqual(str.endIndex.debugDescription, "3[utf8]")
1252
}
1253
0 commit comments