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

Unified Diff: tests/compiler/dart2js/array_static_intercept_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, weird problem with patch in string_interpolation_test.dart hopefully fixed 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/array_static_intercept_test.dart
diff --git a/tests/compiler/dart2js/array_static_intercept_test.dart b/tests/compiler/dart2js/array_static_intercept_test.dart
index 6bb9fda72608127bb0d9c4a178e5142f4b52c795..6f7bf0a609d3cd1cfe902c819ceb7737d4a02a4a 100644
--- a/tests/compiler/dart2js/array_static_intercept_test.dart
+++ b/tests/compiler/dart2js/array_static_intercept_test.dart
@@ -4,7 +4,7 @@
#import("compiler_helper.dart");
-const String TEST_ONE = @"""
+const String TEST_ONE = r"""
foo(a) {
a.add(42);
a.removeLast();
@@ -14,7 +14,7 @@ foo(a) {
main() {
String generated = compile(TEST_ONE, 'foo');
- Expect.isTrue(generated.contains(@'.add$1('));
- Expect.isTrue(generated.contains(@'.removeLast('));
- Expect.isTrue(generated.contains(@'.get$length('));
+ Expect.isTrue(generated.contains(r'.add$1('));
+ Expect.isTrue(generated.contains(r'.removeLast('));
+ Expect.isTrue(generated.contains(r'.get$length('));
}

Powered by Google App Engine
This is Rietveld 408576698