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

Unified Diff: frog/tests/leg/unparser_test.dart

Issue 10543051: Fix unparse for empty initializer or conditionStatement. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebasing Created 8 years, 6 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
« no previous file with comments | « no previous file | lib/compiler/implementation/tree/unparser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tests/leg/unparser_test.dart
diff --git a/frog/tests/leg/unparser_test.dart b/frog/tests/leg/unparser_test.dart
index 4833123898b806a9c9b894ba0f65d579d0ddd2e8..1db130441fbe9071b312e515cde5954dc791d014 100644
--- a/frog/tests/leg/unparser_test.dart
+++ b/frog/tests/leg/unparser_test.dart
@@ -17,6 +17,12 @@ testGenericTypes() {
testUnparse('var x=new List<List<List<List<List<int>>>>>();');
}
+testForLoop() {
+ testUnparse('for(;i<100;i++){}');
+ testUnparse('for(i=0;i<100;i++){}');
+}
+
main() {
testGenericTypes();
+ testForLoop();
}
« no previous file with comments | « no previous file | lib/compiler/implementation/tree/unparser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698