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

Unified Diff: tests/language/string_interpolate_test.dart

Issue 10981026: Convert raw strings to new syntax (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/metadata_test.dart ('k') | tests/standalone/io/path_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/string_interpolate_test.dart
===================================================================
--- tests/language/string_interpolate_test.dart (revision 12867)
+++ tests/language/string_interpolate_test.dart (working copy)
@@ -34,14 +34,14 @@
var x = 1;
var s = "eins und \$x macht zwei.";
print(s);
- Expect.equals(@"eins und $x macht zwei.", s);
+ Expect.equals(r"eins und $x macht zwei.", s);
s = "eins und $x macht zwei.";
print(s);
- Expect.equals(@"eins und 1 macht zwei.", s);
+ Expect.equals(r"eins und 1 macht zwei.", s);
print(AAR_Printers);
- Expect.equals(@"AAR has 2 Printers: svin and hest.", AAR_Printers);
+ Expect.equals(r"AAR has 2 Printers: svin and hest.", AAR_Printers);
var s$eins = "eins";
var $1 = 1;
@@ -50,7 +50,7 @@
var zw$ei = "\"Martini, dry? Nai zwai.\"";
s = "${s$eins} und ${$1} macht $zw$ei.";
print(s);
- Expect.equals(@"eins und 1 macht zwei.", s);
+ Expect.equals(r"eins und 1 macht zwei.", s);
var t = new ThingamaBob("Gretel");
print(t.foo());
« no previous file with comments | « tests/language/metadata_test.dart ('k') | tests/standalone/io/path_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698