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

Unified Diff: tests/language/savannah_test.dart

Issue 10383238: Fix tests in language suite: eliminate String + (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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/reg_exp2_test.dart ('k') | tests/language/string_concat_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/savannah_test.dart
===================================================================
--- tests/language/savannah_test.dart (revision 7724)
+++ tests/language/savannah_test.dart (working copy)
@@ -45,8 +45,8 @@
var count = savannah.length;
print("getCount is $count");
Expect.equals(2, count);
- print("giraffe1: " + savannah[giraffe1]);
- print("giraffe2: " + savannah[giraffe2]);
+ print("giraffe1: ${savannah[giraffe1]}");
+ print("giraffe2: ${savannah[giraffe2]}");
Expect.equals("Tony", savannah[giraffe1]);
Expect.equals("Rose", savannah[giraffe2]);
@@ -68,8 +68,8 @@
caught = false;
try {
- print("zebra1: " + savannah[zebra1]);
- print("zebra2: " + savannah[zebra2]);
+ print("zebra1: ${savannah[zebra1]}");
+ print("zebra2: ${savannah[zebra2]}");
} catch (NoSuchMethodException e) {
print("Caught: $e");
caught = true;
« no previous file with comments | « tests/language/reg_exp2_test.dart ('k') | tests/language/string_concat_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698