Index: runtime/vm/dart_api_impl_test.cc |
=================================================================== |
--- runtime/vm/dart_api_impl_test.cc (revision 3964) |
+++ runtime/vm/dart_api_impl_test.cc (working copy) |
@@ -1495,10 +1495,8 @@ |
// We expect the test script to fail finalization with the error below: |
EXPECT(Dart_IsError(result)); |
Dart_Handle expected_error = Dart_Error( |
- "'dart:test-lib': Error: class 'NativeFields' is trying to extend a " |
- "native fields class, but library '%s' has no native resolvers", |
- TestCase::url()); |
- EXPECT_STREQ(Dart_GetError(expected_error), Dart_GetError(result)); |
+ "'dart:test-lib': Error: line 1 pos 38: class 'NativeFields' is trying"); |
+ EXPECT_SUBSTRING(Dart_GetError(expected_error), Dart_GetError(result)); |
} |