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

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

Issue 10945032: Force a space after empty list literal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « tests/co19/co19-dart2dart.status ('k') | no next file » | 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 a69c08ce5e53ca7f32fa794c225aeb3ea98a01dd..0d72f0843f78d90ddd5efd72362d9c6b5a76f2f5 100644
--- a/tests/compiler/dart2js/unparser_test.dart
+++ b/tests/compiler/dart2js/unparser_test.dart
@@ -124,7 +124,7 @@ testForLoop() {
}
testEmptyList() {
- testUnparse('var x=[];');
+ testUnparse('var x=[] ;');
}
testClosure() {
@@ -149,9 +149,9 @@ testPrefixIncrements() {
}
testConstModifier() {
- testUnparse('foo([var a=const[]]){}');
+ testUnparse('foo([var a=const[] ]){}');
testUnparse('foo([var a=const{}]){}');
- testUnparse('foo(){var a=const[];var b=const{};}');
+ testUnparse('foo(){var a=const[] ;var b=const{};}');
testUnparse('foo([var a=const[const{"a":const[1,2,3]}]]){}');
}
« no previous file with comments | « tests/co19/co19-dart2dart.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698