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

Unified Diff: tests/compiler/dart2js/no_duplicate_constructor_body2_test.dart

Issue 11265020: Minifying renamer for classes, methods and instance variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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_body2_test.dart
diff --git a/tests/compiler/dart2js/no_duplicate_constructor_body2_test.dart b/tests/compiler/dart2js/no_duplicate_constructor_body2_test.dart
index 598c28a8fbc20baed76d61c29627cbc7b095b05e..601386339e20fc1a292c25b2a6ce6eabdfb1d5e2 100644
--- a/tests/compiler/dart2js/no_duplicate_constructor_body2_test.dart
+++ b/tests/compiler/dart2js/no_duplicate_constructor_body2_test.dart
@@ -22,7 +22,7 @@ main() {
main() {
String generated = compileAll(CODE);
- RegExp regexp = new RegExp(r'A\$0: function');
+ RegExp regexp = new RegExp(r'[A-Za-z0-9$]+: ?function');
Iterator<Match> matches = regexp.allMatches(generated).iterator();
checkNumberOfMatches(matches, 1);
}

Powered by Google App Engine
This is Rietveld 408576698