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

Unified Diff: test/dependency_graph_test.dart

Issue 982563003: work around remove deps test failure (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dependency_graph_test.dart
diff --git a/test/dependency_graph_test.dart b/test/dependency_graph_test.dart
index 2e5f1bfd802ade8c743af78eb9f55aea0d8c5980..658afd179f7fbc65af59cb67ea9556a39228bed2 100644
--- a/test/dependency_graph_test.dart
+++ b/test/dependency_graph_test.dart
@@ -49,6 +49,7 @@ main() {
'/a4.dart': 'library a4; export "a10.dart";',
'/a5.dart': 'library a5;',
'/a6.dart': 'part of a2;',
+ '/a7.dart': 'library a7;',
'/a8.dart': 'library a8; import "a8.dart";',
'/a9.dart': 'library a9; import "a8.dart";',
'/a10.dart': 'library a10;',
@@ -187,14 +188,14 @@ main() {
node.source.contents.modificationTime++;
node.source.contents.data =
- 'import "a3.dart"; export "a6.dart"; part "a8.dart";';
+ 'import "a3.dart"; export "a7.dart"; part "a8.dart";';
node.update(graph);
expect(node.imports.length, 1);
expect(node.exports.length, 1);
expect(node.parts.length, 1);
expect(node.imports.contains(nodeOf('/a3.dart')), isTrue);
- expect(node.exports.contains(nodeOf('/a6.dart')), isTrue);
+ expect(node.exports.contains(nodeOf('/a7.dart')), isTrue);
expect(node.parts.contains(nodeOf('/a8.dart')), isTrue);
});
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698