Update string comparison tests

This commit is contained in:
Lance Parker
2018-02-14 12:06:22 -08:00
parent 897963a6f8
commit 49bc1459ae
8 changed files with 149 additions and 174 deletions

View File

@@ -74,10 +74,7 @@ Algorithm.test("min,max") {
expectEqual(c1.identity, max(a1, b1, c2, c1).identity)
}
Algorithm.test("sorted/strings")
.xfail(.nativeRuntime("String comparison: ICU vs. Foundation " +
"https://bugs.swift.org/browse/SR-530"))
.code {
Algorithm.test("sorted/strings") {
expectEqual(
["Banana", "apple", "cherry"],
["apple", "Banana", "cherry"].sorted())