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

Unified Diff: tests/compiler/dart2js/gvn_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/generate_at_use_site_test.dart ('k') | tests/compiler/dart2js/identity_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/gvn_test.dart
diff --git a/tests/compiler/dart2js/gvn_test.dart b/tests/compiler/dart2js/gvn_test.dart
index ade16a0c7963bbba577d5fd01d1637292c5d59c8..c63b2c6708e929475d4ffd82220b4b2b29e691d7 100644
--- a/tests/compiler/dart2js/gvn_test.dart
+++ b/tests/compiler/dart2js/gvn_test.dart
@@ -4,7 +4,7 @@
#import("compiler_helper.dart");
-const String TEST_ONE = @"""
+const String TEST_ONE = r"""
void foo(bar) {
for (int i = 0; i < 1; i++) {
print(1 + bar);
@@ -15,7 +15,7 @@ void foo(bar) {
main() {
String generated = compile(TEST_ONE, 'foo');
- RegExp regexp = const RegExp(@"1 \+ bar");
+ RegExp regexp = const RegExp(r"1 \+ bar");
Iterator matches = regexp.allMatches(generated).iterator();
Expect.isTrue(matches.hasNext());
matches.next();
« no previous file with comments | « tests/compiler/dart2js/generate_at_use_site_test.dart ('k') | tests/compiler/dart2js/identity_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698