Skip to content

Commit 5da1ce0

Browse files
committed
[stdlib] Fix order for Dictionary.keys/values tests
1 parent 3f68f28 commit 5da1ce0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation-test/stdlib/Dictionary.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ DictionaryTestSuite.test("COW.Fast.ValuesAccessDoesNotReallocate") {
11891189
assert(identity1 == d1._rawIdentifier())
11901190

11911191
checkCollection(
1192-
[1010, 1020, 1030],
1192+
Array(d1.values),
11931193
d1.values,
11941194
stackTrace: SourceLocStack())
11951195
{ $0 == $1 }
@@ -1207,7 +1207,7 @@ DictionaryTestSuite.test("COW.Fast.KeysAccessDoesNotReallocate") {
12071207
assert(identity1 == d1._rawIdentifier())
12081208

12091209
checkCollection(
1210-
[10, 20, 30],
1210+
Array(d1.keys),
12111211
d1.keys,
12121212
stackTrace: SourceLocStack())
12131213
{ $0 == $1 }

0 commit comments

Comments
 (0)