Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1673)

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 8549033: Update comments in core lib showing proper factory syntax. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl_test.cc
===================================================================
--- runtime/vm/dart_api_impl_test.cc (revision 1677)
+++ runtime/vm/dart_api_impl_test.cc (working copy)
@@ -1186,13 +1186,12 @@
Dart_NewString("testMain"),
0,
NULL);
- // We expect the test script to fail finalization with the error :
- // "class 'NativeFields' is trying to extend a native fields class,"
- // "but library 'TestCase::url()' has no native resolvers".
+ // We expect the test script to fail finalization with the error below:
EXPECT(Dart_IsError(result));
Dart_Handle expected_error = Dart_Error(
- "class 'NativeFields' is trying to extend a native fields class,"
- "but library '%s' has no native resolvers", TestCase::url());
+ "'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_ExitScope(); // Exit the Dart API scope.
}
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698