Index: runtime/vm/dart_api_impl_test.cc |
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc |
index 5560535b45ad685abf77202e96896d8ead3c6291..04fd8eec7e4f18cac09a0b19ab18722abffee857 100644 |
--- a/runtime/vm/dart_api_impl_test.cc |
+++ b/runtime/vm/dart_api_impl_test.cc |
@@ -570,7 +570,6 @@ TEST_CASE(Dart_PropagateError) { |
result = Dart_Invoke(lib, NewString("Func1"), 0, NULL); |
EXPECT(Dart_IsError(result)); |
- EXPECT(!Dart_ErrorHasException(result)); |
EXPECT_SUBSTRING("semicolon expected", Dart_GetError(result)); |
result = Dart_Invoke(lib, NewString("Func2"), 0, NULL); |
@@ -584,7 +583,6 @@ TEST_CASE(Dart_PropagateError) { |
result = Dart_Invoke(lib, NewString("Func1"), 0, NULL); |
EXPECT(Dart_IsError(result)); |
- EXPECT(!Dart_ErrorHasException(result)); |
EXPECT_SUBSTRING("semicolon expected", Dart_GetError(result)); |
result = Dart_Invoke(lib, NewString("Func2"), 0, NULL); |
@@ -598,7 +596,6 @@ TEST_CASE(Dart_PropagateError) { |
result = Dart_Invoke(lib, NewString("Func1"), 0, NULL); |
EXPECT(Dart_IsError(result)); |
- EXPECT(!Dart_ErrorHasException(result)); |
EXPECT_SUBSTRING("semicolon expected", Dart_GetError(result)); |
result = Dart_Invoke(lib, NewString("Func2"), 0, NULL); |