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

Unified Diff: test/cache/repair/handles_corrupted_global_lockfile_test.dart

Issue 1239623005: "pub cache repair" prints a more detailed summary. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 5 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/source/hosted.dart ('k') | test/cache/repair/handles_failure_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cache/repair/handles_corrupted_global_lockfile_test.dart
diff --git a/test/cache/repair/handles_corrupted_global_lockfile_test.dart b/test/cache/repair/handles_corrupted_global_lockfile_test.dart
index 124a1f2d4d2a52731d63eb2f99a09450f7764e43..46f61b1da55a7c719ee88b8bff7b78d4f9df1961 100644
--- a/test/cache/repair/handles_corrupted_global_lockfile_test.dart
+++ b/test/cache/repair/handles_corrupted_global_lockfile_test.dart
@@ -4,6 +4,7 @@
library pub_tests;
+import 'package:pub/src/exit_codes.dart' as exit_codes;
import 'package:scheduled_test/scheduled_test.dart';
import '../../descriptor.dart' as d;
@@ -19,6 +20,8 @@ main() {
schedulePub(args: ["cache", "repair"],
error: contains('Failed to reactivate foo:'),
- output: contains('Failed to reactivate 1 package.'));
+ output: contains('Failed to reactivate 1 package:\n'
+ '- foo'),
+ exitCode: exit_codes.UNAVAILABLE);
});
}
« no previous file with comments | « lib/src/source/hosted.dart ('k') | test/cache/repair/handles_failure_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698