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

Unified Diff: tests/compiler/dart2js/type_inference_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/type_inference5_test.dart ('k') | tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_inference_test.dart
diff --git a/tests/compiler/dart2js/type_inference_test.dart b/tests/compiler/dart2js/type_inference_test.dart
index fa1283a568170412e85d6ebcb42c8541280c6051..92a8a5a1715b63efea677d52ba8f1ab3da09040d 100644
--- a/tests/compiler/dart2js/type_inference_test.dart
+++ b/tests/compiler/dart2js/type_inference_test.dart
@@ -4,7 +4,7 @@
#import("compiler_helper.dart");
-const String TEST_ONE = @"""
+const String TEST_ONE = r"""
sum(param0, param1) {
var sum = 0;
for (var i = param0; i < param1; i += 1) sum = sum + i;
@@ -12,13 +12,13 @@ sum(param0, param1) {
}
""";
-const String TEST_TWO = @"""
+const String TEST_TWO = r"""
foo(int param0) {
return -param0;
}
""";
-const String TEST_TWO_WITH_BAILOUT = @"""
+const String TEST_TWO_WITH_BAILOUT = r"""
foo(int param0) {
for (int i = 0; i < 1; i++) {
param0 = -param0;
@@ -27,27 +27,27 @@ foo(int param0) {
}
""";
-const String TEST_THREE = @"""
+const String TEST_THREE = r"""
foo(c) {
for (int i = 0; i < 10; i++) print(c[i]);
}
""";
-const String TEST_FOUR = @"""
+const String TEST_FOUR = r"""
foo(String c) {
print(c[0]); // Force a type guard.
while (true) print(c.length);
}
""";
-const String TEST_FIVE = @"""
+const String TEST_FIVE = r"""
foo(a) {
a[0] = 1;
print(a[1]);
}
""";
-const String TEST_FIVE_WITH_BAILOUT = @"""
+const String TEST_FIVE_WITH_BAILOUT = r"""
foo(a) {
for (int i = 0; i < 1; i++) {
a[0] = 1;
@@ -56,7 +56,7 @@ foo(a) {
}
""";
-const String TEST_SIX = @"""
+const String TEST_SIX = r"""
foo(a) {
print(a[0]);
while (true) {
« no previous file with comments | « tests/compiler/dart2js/type_inference5_test.dart ('k') | tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698