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

Unified Diff: tests/language/src/ExpectTest.dart

Issue 9664052: - Fix use of String operator + in language and corelib tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | « tests/language/src/ExampleConstructorTest.dart ('k') | tests/language/src/InterfaceFactoryMultiTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/ExpectTest.dart
===================================================================
--- tests/language/src/ExpectTest.dart (revision 6413)
+++ tests/language/src/ExpectTest.dart (working copy)
@@ -12,7 +12,7 @@
print(msg);
return;
}
- Expect.equals("AB", a + "B");
+ Expect.equals("AB", "${a}B");
throw "Expect.equals did not fail";
}
@@ -39,7 +39,7 @@
}
static testIdentical(a) {
- var ab = a + "B";
+ var ab = "${a}B";
try {
Expect.identical("AB", ab);
} catch (Exception msg) {
« no previous file with comments | « tests/language/src/ExampleConstructorTest.dart ('k') | tests/language/src/InterfaceFactoryMultiTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698