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

Unified Diff: test/lish/force_does_not_publish_if_there_are_errors_test.dart

Issue 1172803002: Emit a failing error code for failing validation. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 6 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/command/lish.dart ('k') | test/lish/package_validation_has_a_warning_and_is_canceled_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/lish/force_does_not_publish_if_there_are_errors_test.dart
diff --git a/test/lish/force_does_not_publish_if_there_are_errors_test.dart b/test/lish/force_does_not_publish_if_there_are_errors_test.dart
index 4d408ea89139bf29a898f53db4ae465d8e80a5d3..f920317991602a9bf6ce9f7d499c39e1b1d6269c 100644
--- a/test/lish/force_does_not_publish_if_there_are_errors_test.dart
+++ b/test/lish/force_does_not_publish_if_there_are_errors_test.dart
@@ -22,7 +22,7 @@ main() {
var server = new ScheduledServer();
var pub = startPublish(server, args: ['--force']);
- pub.shouldExit(exit_codes.SUCCESS);
+ pub.shouldExit(exit_codes.DATA);
pub.stderr.expect(consumeThrough("Sorry, your package is missing a "
"requirement and can't be published yet."));
});
« no previous file with comments | « lib/src/command/lish.dart ('k') | test/lish/package_validation_has_a_warning_and_is_canceled_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698