Index: pkg/docgen/test/multi_library_test.dart |
diff --git a/pkg/docgen/test/multi_library_test.dart b/pkg/docgen/test/multi_library_test.dart |
index 785d08bc39d7bdcc380cbc85a7dbb5e959ee8e2c..2b00eeb074264e490e85f636de6b5b20937ac317 100644 |
--- a/pkg/docgen/test/multi_library_test.dart |
+++ b/pkg/docgen/test/multi_library_test.dart |
@@ -16,9 +16,9 @@ List<Uri> _writeLibFiles() { |
codePath = p.join(codePath, 'lib'); |
- return new Directory(codePath).listSync() |
- .where((fse) => fse is File) |
- .map((fse) => p.toUri(fse.path)) |
+ return ['temp.dart', 'temp2.dart', 'temp3.dart'] |
+ .map((name) => p.join(codePath, name)) |
+ .map(p.toUri) |
.toList(); |
} |