Skip to content

Commit 4f2e7bd

Browse files
committed
[test] Fix Dictionary failures
Crashes somehow interfere with object counters in optimized tests, breaking the tests immediately following a crash test. Remove getObjects:andKeys:count: crash tests for now. rdar://problem/41871587 (cherry picked from commit 68a5331)
1 parent e29ece1 commit 4f2e7bd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

validation-test/stdlib/Dictionary.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3427,8 +3427,6 @@ DictionaryTestSuite.test("BridgedToObjC.Verbatim.getObjects:andKeys:count:") {
34273427
for count in 0 ..< d.count + 2 {
34283428
checkGetObjectsAndKeys(d, count: count)
34293429
}
3430-
expectCrashLater()
3431-
checkGetObjectsAndKeys(d, count: -1)
34323430
}
34333431

34343432
//===---
@@ -3534,8 +3532,6 @@ DictionaryTestSuite.test("BridgedToObjC.Custom.getObjects:andKeys:count:") {
35343532
for count in 0 ..< d.count + 2 {
35353533
checkGetObjectsAndKeys(d, count: count)
35363534
}
3537-
expectCrashLater()
3538-
checkGetObjectsAndKeys(d, count: -1)
35393535
}
35403536

35413537
func getBridgedNSDictionaryOfKey_ValueTypeCustomBridged() -> NSDictionary {

0 commit comments

Comments
 (0)