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

Unified Diff: test/lish/package_validation_has_a_warning_and_is_canceled_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
Index: test/lish/package_validation_has_a_warning_and_is_canceled_test.dart
diff --git a/test/lish/package_validation_has_a_warning_and_is_canceled_test.dart b/test/lish/package_validation_has_a_warning_and_is_canceled_test.dart
index b0454e19bf04f90b9f9e4b61f7d422bbb9dc420f..f0713d414e7747ac39b5dffe869b0c9fd16fcdd4 100644
--- a/test/lish/package_validation_has_a_warning_and_is_canceled_test.dart
+++ b/test/lish/package_validation_has_a_warning_and_is_canceled_test.dart
@@ -23,7 +23,7 @@ main() {
var pub = startPublish(server);
pub.writeLine("n");
- pub.shouldExit(exit_codes.SUCCESS);
+ pub.shouldExit(exit_codes.DATA);
pub.stderr.expect(consumeThrough("Package upload canceled."));
});
}
« no previous file with comments | « test/lish/force_does_not_publish_if_there_are_errors_test.dart ('k') | test/lish/package_validation_has_an_error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698