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

Unified Diff: tests/compiler/dart2js_native/foreign_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
Index: tests/compiler/dart2js_native/foreign_test.dart
diff --git a/tests/compiler/dart2js_native/foreign_test.dart b/tests/compiler/dart2js_native/foreign_test.dart
index cf67efeaedf5c9063c224b9563418238d9e93ed6..3df5343ac08afdd238d90fef829a75f2ecfbb0e9 100644
--- a/tests/compiler/dart2js_native/foreign_test.dart
+++ b/tests/compiler/dart2js_native/foreign_test.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
foreign1(var a, var b) {
- return JS("num", @"# + #", a, b);
+ return JS("num", r"# + #", a, b);
}
var called = false;
@@ -15,11 +15,11 @@ callOnce() {
foreign2() {
var t = callOnce();
- return JS("num", @"# + #", t, t);
+ return JS("num", r"# + #", t, t);
}
foreign11(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
- return JS("num", @"# + # + # + # + # + # + # + # + # + # + #",
+ return JS("num", r"# + # + # + # + # + # + # + # + # + # + #",
a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
}

Powered by Google App Engine
This is Rietveld 408576698