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

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, 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/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index f981fafddbe5134c67b9c15add83a093211061f5..00d241988fbf873095e277dac4b0bca5ad42126e 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() {}
@@ -40,7 +40,7 @@ const String DEFAULT_HELPERLIB = @'''
interface JavaScriptIndexingBehavior {}
S() {}''';
-const String DEFAULT_INTERCEPTORSLIB = @'''
+const String DEFAULT_INTERCEPTORSLIB = r'''
add$1(receiver, value) {}
get$length(receiver) {}
filter(receiver, predicate) {}
@@ -49,7 +49,7 @@ const String DEFAULT_INTERCEPTORSLIB = @'''
next(receiver) {}
hasNext(receiver) {}''';
-const String DEFAULT_CORELIB = @'''
+const String DEFAULT_CORELIB = r'''
print(var obj) {}
assert(x) {}
interface int extends num {}

Powered by Google App Engine
This is Rietveld 408576698