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

Unified Diff: test/lock_file_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 | « lib/src/system_cache.dart ('k') | test/pubspec_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/lock_file_test.dart
diff --git a/test/lock_file_test.dart b/test/lock_file_test.dart
index 6c584ee9003a14f23109cf23e2bc0ca544d40ec2..5bf089fb70a324adb2474f29fbe4c816ea559c20 100644
--- a/test/lock_file_test.dart
+++ b/test/lock_file_test.dart
@@ -26,7 +26,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, String description,
« no previous file with comments | « lib/src/system_cache.dart ('k') | test/pubspec_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698