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

Unified Diff: tests/compiler/dart2js/static_closure_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/static_closure_test.dart
diff --git a/tests/compiler/dart2js/static_closure_test.dart b/tests/compiler/dart2js/static_closure_test.dart
index 42bd12eb1e93f9f9ab398d57e9a95f608c181e8c..c78c757069cce6e9989d0dd147985244ee467faa 100644
--- a/tests/compiler/dart2js/static_closure_test.dart
+++ b/tests/compiler/dart2js/static_closure_test.dart
@@ -16,5 +16,5 @@ main() {
// If this test fail, please take a look at the use of
// toStringWrapper in captureStackTrace in js_helper.dart.
- Expect.isTrue(code.contains(r'print($.main);'));
+ Expect.isTrue(new RegExp(r'p(rint)?\(\$.m(ain)?\);').hasMatch(code));
}

Powered by Google App Engine
This is Rietveld 408576698