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

Unified Diff: sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_missing_package_test.dart

Issue 114193010: Show the dependender(s) for missing packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 years 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
Index: sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_missing_package_test.dart
diff --git a/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_missing_package_test.dart b/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_missing_package_test.dart
index 18fed7faed369a702d5b885e091e9b88e9a30893..944e6ed59d51f23d04f78a350796cba55a52ed46 100644
--- a/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_missing_package_test.dart
+++ b/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_missing_package_test.dart
@@ -16,8 +16,10 @@ main() {
d.appDir({"foo": "1.2.3"}).create();
- pubCommand(command, error: new RegExp(
- r'Could not find package "foo" at http://127\.0\.0\.1:\d+\.$'));
+ pubCommand(command, error: new RegExp(r"""
+Could not find package foo at http://127\.0\.0\.1:\d+\.
+Depended on by:
+- myapp""", multiLine: true));
});
});
}
« no previous file with comments | « sdk/lib/_internal/pub/test/get/path/path_is_file_test.dart ('k') | sdk/lib/_internal/pub/test/hosted/offline_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698