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

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

Issue 11146013: Fix JS minifier to lift var declarations within functions. Still disabled. (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/inverse_operator_test.dart
diff --git a/tests/compiler/dart2js/inverse_operator_test.dart b/tests/compiler/dart2js/inverse_operator_test.dart
index df3da803c0b9c6848fec1968e8aaa6a45a29095d..2b4824271fb487d52dced43cdc3f3fc693339bbf 100644
--- a/tests/compiler/dart2js/inverse_operator_test.dart
+++ b/tests/compiler/dart2js/inverse_operator_test.dart
@@ -16,6 +16,5 @@ main() {
main() {
// Make sure we don't introduce a new variable.
- RegExp regexp = new RegExp("1 >= x");
- compileAndMatch(MAIN, 'main', regexp);
+ compileAndMatchFuzzy(MAIN, 'main', "1 >= x");
}

Powered by Google App Engine
This is Rietveld 408576698