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 020e690 + 4b96f38 commit 82d66e3Copy full SHA for 82d66e3
test/stdlib/StringIndex.swift
@@ -1248,7 +1248,11 @@ suite.test("String index debugDescription backdeployment") {
1248
str.startIndex.debugDescription == "0[any]" ||
1249
str.startIndex.debugDescription == "0[unknown]"
1250
)
1251
- expectEqual(str.endIndex.debugDescription, "3[utf8]")
+ // Result can be `utf8` or `unknown` depending on inlining behavior
1252
+ expectTrue(
1253
+ str.endIndex.debugDescription == "3[utf8]" ||
1254
+ str.endIndex.debugDescription == "3[unknown]"
1255
+ )
1256
}
1257
1258
0 commit comments