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

Unified Diff: tests/compiler/dart2js/is_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/is_inference2_test.dart ('k') | tests/compiler/dart2js/literal_list_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/is_inference_test.dart
diff --git a/tests/compiler/dart2js/is_inference_test.dart b/tests/compiler/dart2js/is_inference_test.dart
index 41496773bb86da7c17395142369634d329ca0865..ae958ea6fbcf4e18a685599af1a1ae9a3402d667 100644
--- a/tests/compiler/dart2js/is_inference_test.dart
+++ b/tests/compiler/dart2js/is_inference_test.dart
@@ -4,7 +4,7 @@
#import("compiler_helper.dart");
-const String TEST_IF = @"""
+const String TEST_IF = r"""
test(param) {
if (param is int) {
param = param + 42;
@@ -13,7 +13,7 @@ test(param) {
}
""";
-const String TEST_IF_ELSE = @"""
+const String TEST_IF_ELSE = r"""
test(param) {
if (param is int) {
param = param + 42;
@@ -24,7 +24,7 @@ test(param) {
}
""";
-const String TEST_IF_RETURN = @"""
+const String TEST_IF_RETURN = r"""
test(param) {
if (param is int) {
return param + 42;
@@ -33,7 +33,7 @@ test(param) {
}
""";
-const String TEST_IF_NOT_ELSE = @"""
+const String TEST_IF_NOT_ELSE = r"""
test(param) {
if (param is !int) {
param = param + 53;
@@ -44,14 +44,14 @@ test(param) {
}
""";
-const String TEST_IF_NOT_RETURN = @"""
+const String TEST_IF_NOT_RETURN = r"""
test(param) {
if (param is !int) return param + 53;
return param + 42;
}
""";
-const String TEST_IF_NOT_ELSE_RETURN = @"""
+const String TEST_IF_NOT_ELSE_RETURN = r"""
test(param) {
if (param is !int) {
return param + 53;
« no previous file with comments | « tests/compiler/dart2js/is_inference2_test.dart ('k') | tests/compiler/dart2js/literal_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698