Chromium Code Reviews| Index: runtime/vm/isolate_test.cc |
| =================================================================== |
| --- runtime/vm/isolate_test.cc (revision 1328) |
| +++ runtime/vm/isolate_test.cc (working copy) |
| @@ -43,8 +43,8 @@ |
| Dart_NewString("testMain"), |
| 0, |
| NULL); |
| - EXPECT_VALID(result); |
| - EXPECT(Dart_ExceptionOccurred(result)); |
| + EXPECT(Dart_IsError(result)); |
| + EXPECT(Dart_IsUnhandledException(result)); |
| Dart_Handle exception_result = Dart_GetException(result); |
| EXPECT_VALID(exception_result); |
| } |