Skip to content

Commit 9dd7475

Browse files
committed
[test] Fix and reenable a Substring.removeSubrange test
1 parent 60952b8 commit 9dd7475

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/stdlib/StringIndex.swift

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,11 +1060,9 @@ suite.test("String.replaceSubrange index validation")
10601060
}
10611061
}
10621062

1063-
suite.test("Substring.removeSubrange entire range")
1064-
.skip(.always("Disabled due to rdar://99627624"))
1065-
.code {
1066-
guard #available(SwiftStdlib 5.7, *) else {
1067-
// This is a regression found in 5.7+
1063+
suite.test("Substring.removeSubrange entire range") {
1064+
guard #available(SwiftStdlib 5.8, *) else {
1065+
// This was a regression in 5.7.0, fixed in 5.7.1+
10681066
return
10691067
}
10701068

0 commit comments

Comments
 (0)