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

Unified Diff: tests/compiler/dart2js/type_inference2_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/type_inference2_test.dart
diff --git a/tests/compiler/dart2js/type_inference2_test.dart b/tests/compiler/dart2js/type_inference2_test.dart
index 594c321af441a14bb781965897e94f4aa3dfe519..0914cfb51e3ebe30003e53194d62ffbb54342b2e 100644
--- a/tests/compiler/dart2js/type_inference2_test.dart
+++ b/tests/compiler/dart2js/type_inference2_test.dart
@@ -13,6 +13,5 @@ sum(param0, param1) {
""";
main() {
- String generated = compile(TEST_ONE, 'sum');
- Expect.isTrue(generated.contains('++i'));
+ compileAndMatchFuzzy(TEST_ONE, 'sum', "\\+\\+x");
floitsch 2012/10/15 11:17:18 use raw string.
}

Powered by Google App Engine
This is Rietveld 408576698