Skip to content

Commit 9a1230e

Browse files
authored
Merge pull request #866 from ikesyo/fix-macos-nsstring-comparisonTests
2 parents 99c6656 + d1d3ca8 commit 9a1230e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

TestFoundation/TestNSString.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,13 @@ let comparisonTests = [
10941094
ComparisonTest("t", "tt"),
10951095
ComparisonTest("t", "Tt"),
10961096
ComparisonTest("\u{0}", "",
1097-
reason: "https://bugs.swift.org/browse/SR-332"),
1097+
reason: {
1098+
#if _runtime(_ObjC)
1099+
return ""
1100+
#else
1101+
return "https://bugs.swift.org/browse/SR-332"
1102+
#endif
1103+
}()),
10981104
ComparisonTest("\u{0}", "\u{0}",
10991105
reason: "https://bugs.swift.org/browse/SR-332"),
11001106
ComparisonTest("\r\n", "t"),

0 commit comments

Comments
 (0)