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

Unified Diff: tests/compiler/dart2js/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
« no previous file with comments | « tests/compiler/dart2js/string_escapes_test.dart ('k') | tests/compiler/dart2js/tree_shaking_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/string_interpolation_test.dart
diff --git a/tests/compiler/dart2js/string_interpolation_test.dart b/tests/compiler/dart2js/string_interpolation_test.dart
index 4c483fbe8cb2effa4dd413aad1d9b154931c4cc3..8dcd391fae4ba914e50a840016a739560b6f3ecb 100644
--- a/tests/compiler/dart2js/string_interpolation_test.dart
+++ b/tests/compiler/dart2js/string_interpolation_test.dart
@@ -6,9 +6,9 @@
main() {
String code =
- compileAll(@'''main() { return "${2}${true}${'a'}${3.14}"; }''');
- Expect.isTrue(code.contains(@'2truea3.14'));
+ compileAll(r'''main() { return "${2}${true}${'a'}${3.14}"; }''');
+ Expect.isTrue(code.contains(r'2truea3.14'));
- code = compileAll(@'''main() { return "foo ${new Object()}"; }''');
- Expect.isFalse(code.contains(@'concat'));
+ code = compileAll(r'''main() { return "foo ${new Object()}"; }''');
+ Expect.isFalse(code.contains(r'concat'));
}
« no previous file with comments | « tests/compiler/dart2js/string_escapes_test.dart ('k') | tests/compiler/dart2js/tree_shaking_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698