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

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

Issue 10826245: Fix some operator madness (see incr_op_test for more details.) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « lib/compiler/implementation/tree/unparser.dart ('k') | tests/language/language.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/unparser_test.dart
diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
index 50845fb50a09fc33e77ee4b6f45dd75efe9af568..e64c27f958fae46855c27bc3b3da27063e38171b 100644
--- a/tests/compiler/dart2js/unparser_test.dart
+++ b/tests/compiler/dart2js/unparser_test.dart
@@ -99,8 +99,8 @@ testGenericTypes() {
}
testForLoop() {
- testUnparse('for(;i<100;i++){}');
- testUnparse('for(i=0;i<100;i++){}');
+ testUnparse('for(;i<100;i++ ){}');
+ testUnparse('for(i=0;i<100;i++ ){}');
}
testEmptyList() {
@@ -123,7 +123,7 @@ testNativeMethods() {
}
testPrefixIncrements() {
- testUnparse('++i;');
+ testUnparse(' ++i;');
testUnparse('++a[i];');
testUnparse('++a[++b[i]];');
}
« no previous file with comments | « lib/compiler/implementation/tree/unparser.dart ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698