File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -300,15 +300,14 @@ Tests.test("NSDictionary -> Swift (Dictionary). Crashing Test Cases") {
300
300
expectNil ( dictOpt)
301
301
}
302
302
303
- // NOTE: This is preserving current behavior. We should probably have a better
304
- // error here like in the other crashes.
305
- //
306
303
// CHECK-LABEL: [ RUN ] BridgedCastFolding.NSDictionary -> Swift (Dictionary). Crashing Test Cases
307
- // CHECK: stderr>>> OK: saw expected "crashed: sigill"
304
+ // CHECK: stderr>>> Could not cast value of type '{{.*}}' (0x{{[0-9a-f]*}}) to 'NSNumber' (0x{{[0-9a-f]*}}).
305
+ // CHECK: stderr>>> OK: saw expected "crashed: sigabrt"
308
306
// CHECK: [ OK ] BridgedCastFolding.NSDictionary -> Swift (Dictionary). Crashing Test Cases
309
307
//
310
308
// CHECK-OPT-LABEL: [ RUN ] BridgedCastFolding.NSDictionary -> Swift (Dictionary). Crashing Test Cases
311
- // CHECK-OPT: stderr>>> OK: saw expected "crashed: sigill"
309
+ // CHECK-OPT: stderr>>> Could not cast value of type '{{.*}}' (0x{{[0-9a-f]*}}) to 'NSNumber' (0x{{[0-9a-f]*}}).
310
+ // CHECK-OPT: stderr>>> OK: saw expected "crashed: sigabrt"
312
311
// CHECK-OPT: [ OK ] BridgedCastFolding.NSDictionary -> Swift (Dictionary). Crashing Test Cases
313
312
expectCrashLater ( )
314
313
do {
You can’t perform that action at this time.
0 commit comments