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

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

Issue 10834416: Rename elements after sorting. (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
Index: tests/compiler/dart2js/unparser_test.dart
diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
index 43d362dc9cd38bf4c719ef8e9cc46699ad10642a..b0c79e33be033d3090abc4e781c3ed56e12694fe 100644
--- a/tests/compiler/dart2js/unparser_test.dart
+++ b/tests/compiler/dart2js/unparser_test.dart
@@ -502,13 +502,13 @@ main() {
}
''';
var expectedResult =
- 'interface p_I default B{p_I();}'
- 'class A implements p_I{A(){}}'
- 'class B{factory p_I(){}}'
- 'interface I default p_B{I();}'
- 'class p_A implements I{p_A(){}}'
- 'class p_B{factory I(){}}'
- 'main(){new I(); new p_A(); new p_I(); new A();}';
+ 'interface I default B{I();}'
+ 'class A implements I{A(){}}'
+ 'class B{factory I(){}}'
+ 'interface p_I default p_B{p_I();}'
+ 'class p_A implements p_I{p_A(){}}'
+ 'class p_B{factory p_I(){}}'
+ 'main(){new p_I(); new p_A(); new I(); new A();}';
testDart2DartWithLibrary(mainSrc, librarySrc,
(String result) { Expect.equals(expectedResult, result); });
}

Powered by Google App Engine
This is Rietveld 408576698