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

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

Issue 9969159: - Remove more String operator + from 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
Index: tests/language/src/StringConcatTest.dart
===================================================================
--- tests/language/src/StringConcatTest.dart (revision 6417)
+++ tests/language/src/StringConcatTest.dart (working copy)
@@ -32,7 +32,7 @@
// Adding a number to a string value creates a new, concatenated
// string.
s1 = "Grandmaster Flash and the Furious ";
- s1 = s1 + (4 + 1);
+ s1 = "$s1${4 + 1}";
Expect.equals(true, s1.endsWith("Furious 5"));
// Adding a string to a number is not supported.

Powered by Google App Engine
This is Rietveld 408576698