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

Unified Diff: test/lish/preview_package_validation_has_a_warning_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/preview_package_validation_has_a_warning_test.dart
diff --git a/test/lish/preview_package_validation_has_a_warning_test.dart b/test/lish/preview_package_validation_has_a_warning_test.dart
index 5f80d9d9cfee65c854a4d183e47fd86e2e697ffd..5d19cfdb459da5eaf2632d6b6d18e70a2f4e6d0c 100644
--- a/test/lish/preview_package_validation_has_a_warning_test.dart
+++ b/test/lish/preview_package_validation_has_a_warning_test.dart
@@ -22,7 +22,7 @@ main() {
var server = new ScheduledServer();
var pub = startPublish(server, args: ['--dry-run']);
- pub.shouldExit(exit_codes.SUCCESS);
+ pub.shouldExit(exit_codes.DATA);
pub.stderr.expect(consumeThrough('Suggestions:'));
pub.stderr.expect(emitsLines(
'* Author "Natalie Weizenbaum" in pubspec.yaml should have an email '
« no previous file with comments | « test/lish/package_validation_has_an_error_test.dart ('k') | test/lish/server_arg_overrides_publish_to_url_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698