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

Unified Diff: test/initializer_test.dart

Issue 1018643002: change to source-order crawling of directives instead of alphabetical (Closed) Base URL: git@github.com:dart-lang/static-init.git@master
Patch Set: switch to bug fix instead of breaking change, and use definingCompilationUnit Created 5 years, 9 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 | « test/initializer_parts_test.dart ('k') | test/parts/bar.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/initializer_test.dart
diff --git a/test/initializer_test.dart b/test/initializer_test.dart
index 9b87a87b9540dfc137fff3091e35a8177d9579f0..1488b1d2d1906f26e4887ae4eb0e8e705c0b29b8 100644
--- a/test/initializer_test.dart
+++ b/test/initializer_test.dart
@@ -4,7 +4,6 @@
@initializeTracker
library initialize.initializer_test;
-import 'foo.dart';
import 'foo/bar.dart';
import 'package:initialize/src/initialize_tracker.dart';
import 'package:initialize/initialize.dart';
@@ -19,20 +18,20 @@ main() {
run().then((_) {
test('annotations are seen in post-order with superclasses first', () {
var expectedNames = [
- const LibraryIdentifier(#test_package.bar, 'test_package', 'bar.dart'),
- const LibraryIdentifier(#test_package.foo, 'test_package', 'foo.dart'),
const LibraryIdentifier(#initialize.test.foo, null, 'foo.dart'),
- foo,
fooBar,
+ foo,
Foo,
const LibraryIdentifier(#initialize.test.foo.bar, null, 'foo/bar.dart'),
bar,
Bar,
+ const LibraryIdentifier(#test_package.bar, 'test_package', 'bar.dart'),
+ const LibraryIdentifier(#test_package.foo, 'test_package', 'foo.dart'),
const LibraryIdentifier(
#initialize.initializer_test, null, 'initializer_test.dart'),
zap,
Zoop, // Zap extends Zoop, so Zoop comes first.
- Zap
+ Zap,
];
expect(InitializeTracker.seen, expectedNames);
});
« no previous file with comments | « test/initializer_parts_test.dart ('k') | test/parts/bar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698