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

Unified Diff: tests/compiler/dart2js/mock_compiler.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/loop_test.dart ('k') | tests/compiler/dart2js/no_constructor_body_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index bc246324c5a3a80d97fcc715a919d5695298aa9f..ebaf3658a2b7ecb0c9c07b10644be5e145ec476e 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -22,7 +22,7 @@ class WarningMessage {
toString() => message.toString();
}
-const String DEFAULT_HELPERLIB = @'''
+const String DEFAULT_HELPERLIB = r'''
lt() {} add(var a, var b) {} sub() {} mul() {} div() {} tdiv() {} mod() {}
neg() {} shl() {} shr() {} eq() {} le() {} gt() {} ge() {}
or() {} and() {} not() {} eqNull(a) {} eqq() {}
@@ -42,7 +42,7 @@ const String DEFAULT_HELPERLIB = @'''
S() {}
assert(a){}''';
-const String DEFAULT_INTERCEPTORSLIB = @'''
+const String DEFAULT_INTERCEPTORSLIB = r'''
add$1(receiver, value) {}
get$length(receiver) {}
filter(receiver, predicate) {}
@@ -51,7 +51,7 @@ const String DEFAULT_INTERCEPTORSLIB = @'''
next(receiver) {}
hasNext(receiver) {}''';
-const String DEFAULT_CORELIB = @'''
+const String DEFAULT_CORELIB = r'''
print(var obj) {}
interface int extends num {}
interface double extends num {}
« no previous file with comments | « tests/compiler/dart2js/loop_test.dart ('k') | tests/compiler/dart2js/no_constructor_body_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698