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

Unified Diff: tests/compiler/dart2js_extra/string_interpolation_test.dart

Issue 10920066: issue 4817 fixed. Implemented raw strings with 'r' instead of '@' for dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased. Marked raw_string_test as pass for dart2js-ff and dart2dart 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
Index: tests/compiler/dart2js_extra/string_interpolation_test.dart
diff --git a/tests/compiler/dart2js_extra/string_interpolation_test.dart b/tests/compiler/dart2js_extra/string_interpolation_test.dart
index bf57131722f22ee17d913af636beae75e454a51e..70357dc367bdec31df7f1583b82817caaceb5cce 100644
--- a/tests/compiler/dart2js_extra/string_interpolation_test.dart
+++ b/tests/compiler/dart2js_extra/string_interpolation_test.dart
@@ -16,14 +16,14 @@ void nfun() => null;
void testEscapes() {
// Test that escaping the '$' prevents string interpolation.
String x = "NOT HERE";
- Expect.equals(@'a${x}', 'a\${x}');
- Expect.equals(@'a$x', 'a\$x');
- Expect.equals(@'a${x}', '''a\${x}''');
- Expect.equals(@'a$x', '''a\$x''');
- Expect.equals(@'a${x}', "a\${x}");
- Expect.equals(@'a$x', "a\$x");
- Expect.equals(@'a${x}', """a\${x}""");
- Expect.equals(@'a$x', """a\$x""");
+ Expect.equals(r'a${x}', 'a\${x}');
+ Expect.equals(r'a$x', 'a\$x');
+ Expect.equals(r'a${x}', '''a\${x}''');
+ Expect.equals(r'a$x', '''a\$x''');
+ Expect.equals(r'a${x}', "a\${x}");
+ Expect.equals(r'a$x', "a\$x");
+ Expect.equals(r'a${x}', """a\${x}""");
+ Expect.equals(r'a$x', """a\$x""");
}
« no previous file with comments | « tests/compiler/dart2js_extra/string_escape_test.dart ('k') | tests/compiler/dart2js_foreign/foreign_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698