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

Unified Diff: tests/compiler/dart2js/no_duplicate_constructor_body_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/no_duplicate_constructor_body_test.dart
diff --git a/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart b/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart
index b50ff8f21e84508c9eed9c6d089d438676437a14..23464d6f601214b64836e34c051120511e370ab6 100644
--- a/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart
+++ b/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart
@@ -16,7 +16,7 @@ main() {
main() {
String generated = compileAll(CODE);
- RegExp regexp = new RegExp(@'\$.A = {"":');
+ RegExp regexp = new RegExp(r'\$.A = {"":');
Iterator<Match> matches = regexp.allMatches(generated).iterator();
checkNumberOfMatches(matches, 1);
}
« no previous file with comments | « tests/compiler/dart2js/no_duplicate_constructor_body2_test.dart ('k') | tests/compiler/dart2js/null_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698