Patchwork [remotenames-ext] tests: adjust tests to respect negation in cmd flags

login
register
mail settings
Submitter Kostia Balytskyi
Date Oct. 3, 2016, 3:49 p.m.
Message ID <e4c0713ea86204b900a2.1475509751@dev1902.lla1.facebook.com>
Download mbox | patch
Permalink /patch/16833/
State Accepted
Headers show

Comments

Kostia Balytskyi - Oct. 3, 2016, 3:49 p.m.
# HG changeset patch
# User Kostia Balytskyi <ikostia@fb.com>
# Date 1475505045 25200
#      Mon Oct 03 07:30:45 2016 -0700
# Node ID e4c0713ea86204b900a2e1cce238f61e4bef2062
# Parent  3aa5c4dbf5086615dbbe42b0d2d9fd5ca0488cf1
tests: adjust tests to respect negation in cmd flags
Sean Farley - Oct. 3, 2016, 10:33 p.m.
Kostia Balytskyi <ikostia@fb.com> writes:

> # HG changeset patch
> # User Kostia Balytskyi <ikostia@fb.com>
> # Date 1475505045 25200
> #      Mon Oct 03 07:30:45 2016 -0700
> # Node ID e4c0713ea86204b900a2e1cce238f61e4bef2062
> # Parent  3aa5c4dbf5086615dbbe42b0d2d9fd5ca0488cf1
> tests: adjust tests to respect negation in cmd flags

Thanks, queued.

Patch

diff --git a/tests/test-remotenames.t b/tests/test-remotenames.t
--- a/tests/test-remotenames.t
+++ b/tests/test-remotenames.t
@@ -289,9 +289,9 @@  Test loading with hggit
   $ echo "hggit=" >> $HGRCPATH
   $ hg help bookmarks  | grep -A 3 -- '--track'
    -t --track BOOKMARK track this bookmark or remote name
-   -u --untrack        remove tracking for this bookmark
-   -a --all            show both remote and local bookmarks
-      --remote         show only remote bookmarks
+   -u --[no-]untrack   remove tracking for this bookmark
+   -a --[no-]all       show both remote and local bookmarks
+      --[no-]remote    show only remote bookmarks
 
 Test branches marked as closed are not loaded
   $ cd ../alpha