Index: test/pubspec_test.dart |
diff --git a/test/pubspec_test.dart b/test/pubspec_test.dart |
index ff68b802c8cd4f6dafc123b70c411c34f3543ba1..6a24d8ae838c787ffd93cae4aa8d437853cbbbe0 100644 |
--- a/test/pubspec_test.dart |
+++ b/test/pubspec_test.dart |
@@ -25,7 +25,7 @@ class MockSource extends Source { |
Future get(PackageId id, String symlink) => throw new UnsupportedError( |
"Cannot get a mock package."); |
- Future<String> getDirectory(PackageId id) => throw new UnsupportedError( |
+ String getDirectory(PackageId id) => throw new UnsupportedError( |
"Cannot get the directory for mock packages."); |
dynamic parseDescription(String filePath, description, |