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

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: format 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
Index: test/initializer_test.dart
diff --git a/test/initializer_test.dart b/test/initializer_test.dart
index 9b87a87b9540dfc137fff3091e35a8177d9579f0..c4e2950a02dd6678cc6c9087996db3e23ba86d7c 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,15 +18,15 @@ 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,
« lib/transformer.dart ('K') | « test/foo/bar.dart ('k') | test/transformer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698