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

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, 9 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
Index: tests/language/src/ExpectTest.dart
===================================================================
--- tests/language/src/ExpectTest.dart (revision 5311)
+++ tests/language/src/ExpectTest.dart (working copy)
@@ -12,7 +12,7 @@
print(msg);
return;
}
- Expect.equals("AB", a + "B");
+ Expect.equals("AB", a.concat("B"));
kasperl 2012/03/12 06:55:42 String interpolation?
Ivan Posva 2012/04/11 14:26:00 Done.
throw "Expect.equals did not fail";
}
@@ -39,7 +39,7 @@
}
static testIdentical(a) {
- var ab = a + "B";
+ var ab = a.concat("B");
kasperl 2012/03/12 06:55:42 String interpolation?
Ivan Posva 2012/04/11 14:26:00 Done.
try {
Expect.identical("AB", ab);
} catch (Exception msg) {

Powered by Google App Engine
This is Rietveld 408576698