| Index: runtime/vm/snapshot_test.cc
|
| ===================================================================
|
| --- runtime/vm/snapshot_test.cc (revision 969)
|
| +++ runtime/vm/snapshot_test.cc (working copy)
|
| @@ -367,7 +367,7 @@
|
| Dart_NewString("testMain"),
|
| 0,
|
| NULL);
|
| - EXPECT(Dart_IsValid(result));
|
| + EXPECT_VALID(result);
|
| EXPECT(!Dart_ExceptionOccurred(result));
|
|
|
| Dart_ExitScope(); // Exit the Dart API scope.
|
| @@ -414,7 +414,7 @@
|
| Dart_NewString("testMain"),
|
| 0,
|
| NULL);
|
| - EXPECT(Dart_IsValid(result));
|
| + EXPECT_VALID(result);
|
| EXPECT(!Dart_ExceptionOccurred(result));
|
|
|
| Dart_ExitScope(); // Exit the Dart API scope.
|
| @@ -437,7 +437,7 @@
|
| Dart_NewString("testMain"),
|
| 0,
|
| NULL);
|
| - EXPECT(Dart_IsValid(result));
|
| + EXPECT_VALID(result);
|
| if (Dart_ExceptionOccurred(result)) {
|
| // Print the exception object.
|
| fprintf(stderr, "An unhandled exception has been thrown\n");
|
|
|