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

Unified Diff: test/lish/package_validation_has_an_error_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_an_error_test.dart
diff --git a/test/lish/package_validation_has_an_error_test.dart b/test/lish/package_validation_has_an_error_test.dart
index 762696d93339ee2943045664f1ba1c6e7346b2ca..868b6e4c5863c012f9887374b49ab81d2851111f 100644
--- a/test/lish/package_validation_has_an_error_test.dart
+++ b/test/lish/package_validation_has_an_error_test.dart
@@ -22,7 +22,7 @@ main() {
var server = new ScheduledServer();
var pub = startPublish(server);
- 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."));
});

Powered by Google App Engine
This is Rietveld 408576698