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

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 10543137: - Fix test expectations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 months 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 | « no previous file | no next file » | 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 8601)
+++ runtime/vm/dart_api_impl_test.cc (working copy)
@@ -45,7 +45,7 @@
EXPECT_STREQ(
"Unhandled exception:\n"
"Exception: bad news\n"
- " 0. Function: '::testMain' url: 'dart:test-lib' line:2 col:3\n",
+ " 0. Function: '::testMain' url: 'dart:test-lib' line:2 col:3",
Dart_GetError(exception));
EXPECT(Dart_IsError(Dart_ErrorGetException(instance)));
@@ -4659,7 +4659,7 @@
result = Dart_Invoke(result, Dart_NewString("main"), 0, NULL);
EXPECT(Dart_IsError(result));
EXPECT_STREQ("Duplicate definition : 'foo' is defined in"
- " 'library2.dart' and 'dart:test-lib'\n",
+ " 'library2.dart' and 'dart:test-lib'",
Dart_GetError(result));
}
@@ -4730,7 +4730,7 @@
result = Dart_Invoke(result, Dart_NewString("main"), 0, NULL);
EXPECT(Dart_IsError(result));
EXPECT_STREQ("Duplicate definition : 'foo' is defined in"
- " 'library2.dart' and 'library1.dart'\n",
+ " 'library2.dart' and 'library1.dart'",
Dart_GetError(result));
}
@@ -4802,7 +4802,7 @@
result = Dart_Invoke(result, Dart_NewString("main"), 0, NULL);
EXPECT(Dart_IsError(result));
EXPECT_STREQ("Duplicate definition : 'fooC' is defined in"
- " 'libraryC.dart' and 'libraryF.dart'\n",
+ " 'libraryC.dart' and 'libraryF.dart'",
Dart_GetError(result));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698