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

Unified Diff: tests/compiler/dart2js/static_closure_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/ssa_phi_codegen_test.dart ('k') | tests/compiler/dart2js/string_escapes_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/static_closure_test.dart
diff --git a/tests/compiler/dart2js/static_closure_test.dart b/tests/compiler/dart2js/static_closure_test.dart
index a93a8665367a32f49130fcf95f17c2fe752d7d4f..42bd12eb1e93f9f9ab398d57e9a95f608c181e8c 100644
--- a/tests/compiler/dart2js/static_closure_test.dart
+++ b/tests/compiler/dart2js/static_closure_test.dart
@@ -7,7 +7,7 @@
#import("compiler_helper.dart");
main() {
- String code = compileAll(@'''main() { print(main); }''');
+ String code = compileAll(r'''main() { print(main); }''');
// At some point, we will have to closurize global functions
// differently, at which point this test will break. Then it is time
@@ -16,5 +16,5 @@ main() {
// If this test fail, please take a look at the use of
// toStringWrapper in captureStackTrace in js_helper.dart.
- Expect.isTrue(code.contains(@'print($.main);'));
+ Expect.isTrue(code.contains(r'print($.main);'));
}
« no previous file with comments | « tests/compiler/dart2js/ssa_phi_codegen_test.dart ('k') | tests/compiler/dart2js/string_escapes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698