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

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

Issue 10916053: Get rid of duplication of class node unparsing. (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
Index: tests/compiler/dart2js/unparser2_test.dart
diff --git a/tests/compiler/dart2js/unparser2_test.dart b/tests/compiler/dart2js/unparser2_test.dart
index 198333e858acc219048ac531024155bc10efdf9e..8d8567a6c54bf8f70a5e0b4e2dcef694049fb9af 100644
--- a/tests/compiler/dart2js/unparser2_test.dart
+++ b/tests/compiler/dart2js/unparser2_test.dart
@@ -24,7 +24,7 @@ testClassDef() {
compareCode('''
class T{}
''', '''
- class T {
+ class T{
}
''');
}
@@ -33,7 +33,7 @@ testClass1Field() {
compareCode('''
class T{var x;}
''', '''
- class T {
+ class T{
var x;
}
''');
@@ -43,7 +43,7 @@ testClass2Fields() {
compareCode('''
class T{var x; var y;}
''', '''
- class T {
+ class T{
var x;
var y;
}
@@ -54,7 +54,7 @@ testClass1Field1Method() {
compareCode('''
class T{var x;m(){}}
''', '''
- class T {
+ class T{
var x;
m(){}
}
@@ -65,7 +65,7 @@ testClass1Field2Method() {
compareCode('''
class T{a(){}b(){}}
''', '''
- class T {
+ class T{
a(){}
b(){}
}
@@ -76,7 +76,7 @@ testClassDefTypeParam() {
compareCode('''
class T<X>{}
''', '''
- class T<X> {
+ class T<X>{
}
''');
}

Powered by Google App Engine
This is Rietveld 408576698