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

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

Issue 10824113: Fix interpolation unparse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 ca55cdd2b1a38e11cc39f378a891d16b2e0270a7..2b2861669aa04ea1d2f1080e367958ad4f3f1c1a 100644
--- a/tests/compiler/dart2js/unparser_test.dart
+++ b/tests/compiler/dart2js/unparser_test.dart
@@ -113,7 +113,7 @@ testClosure() {
testIndexedOperatorDecl() {
testUnparseMember('operator[](int i)=> null;');
- testUnparseMember('operator[]=(int i, int j)=> null;');
+ testUnparseMember('operator[]=(int i,int j)=> null;');
}
testNativeMethods() {
@@ -132,7 +132,7 @@ testConstModifier() {
testUnparse('foo([var a=const []]){}');
testUnparse('foo([var a=const{}]){}');
testUnparse('foo(){var a=const []; var b=const{};}');
- testUnparse('foo([var a=const [const{"a": const [1, 2, 3]}]]){}');
+ testUnparse('foo([var a=const [const{"a": const [1,2,3]}]]){}');
}
testSimpleFileUnparse() {
@@ -178,8 +178,8 @@ testExtendsImplements() {
}
testVariableDefinitions() {
- testDart2Dart('main(){final var x, y; final String s;}');
- testDart2Dart('foo(f, g){}main(){foo(1, 2);}');
+ testDart2Dart('main(){final var x,y; final String s;}');
+ testDart2Dart('foo(f,g){}main(){foo(1,2);}');
testDart2Dart('foo(f(arg)){}main(){foo(main);}');
// A couple of static/finals inside a class.
testDart2Dart('main(){A.a; A.b;}class A{static final String a="5";'
« 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