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

Unified Diff: utils/tests/pub/pub_test.dart

Issue 12217156: Add --force to pub lish. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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: utils/tests/pub/pub_test.dart
diff --git a/utils/tests/pub/pub_test.dart b/utils/tests/pub/pub_test.dart
index f18328ca3d78d8c444f287d3f9a322f66dbcef05..bb38086448952893ef00ee03472b01b414de83ba 100644
--- a/utils/tests/pub/pub_test.dart
+++ b/utils/tests/pub/pub_test.dart
@@ -43,7 +43,7 @@ final VERSION_STRING = '''
main() {
initConfig();
-
+
integration('running pub with no command displays usage', () {
schedulePub(args: [], output: USAGE_STRING);
});
@@ -106,6 +106,7 @@ main() {
Usage: pub publish [options]
-n, --dry-run Validate but do not publish the package
+ -f, --force Publish without confirmation if there are no errors
--server The package server to which to upload this package
(defaults to "https://pub.dartlang.org")
''');

Powered by Google App Engine
This is Rietveld 408576698