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

Unified Diff: test/dependency_graph_test.dart

Issue 1239803005: fix issues caught by analysis_server (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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/codegen_test.dart ('k') | tool/patch_sdk.dart » ('j') | 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 f32028945336acba006df7d9d750ee24ebafe4be..b5810970dc2a8a6a2b04d3573e314ab1d49676c8 100644
--- a/test/dependency_graph_test.dart
+++ b/test/dependency_graph_test.dart
@@ -1110,7 +1110,7 @@ void main() {
});
test('non-existing files are tracked in dependencies', () {
- var s1 = testResourceProvider
+ testResourceProvider
.newFile('/foo.dart', "import 'bar.dart';")
.createSource();
var node = nodeOf('/foo.dart');
@@ -1119,7 +1119,7 @@ void main() {
expect(node.allDeps.contains(nodeOf('/bar.dart')), isTrue);
expect(nodeOf('/bar.dart').source.exists(), isFalse);
- var s2 = testResourceProvider.newFile('/bar.dart', 'hi').createSource();
+ testResourceProvider.newFile('/bar.dart', 'hi').createSource();
results = [];
rebuild(node, buildWithTransitiveChange);
expect(results, ['bar.dart', 'foo.dart']);
« no previous file with comments | « test/codegen_test.dart ('k') | tool/patch_sdk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698