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

Unified Diff: test/pubspec_test.dart

Issue 1276673006: Make Source.getDirectory synchronous. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 4 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/lock_file_test.dart ('k') | test/version_solver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « test/lock_file_test.dart ('k') | test/version_solver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698