[PATCH v2 16/16] tag: add tests for --with and --without
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Mar 21, 2017, 12:59 UTC
- Message-ID
- <20170321125901.10652-17-avarab@gmail.com>
- In-Reply-To
- <20170321125901.10652-1-avarab@gmail.com>
Change the test suite to test for these synonyms for --contains and --no-contains, respectively.
Before this change there were no tests for them at all. This doesn't exhaustively test for them as well as their --contains and --no-contains synonyms, but at least it's something.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> --- t/t7004-tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh index 60b5cd8751..8cd611344f 100755 --- a/t/t7004-tag.sh +++ b/t/t7004-tag.sh @@ -1596,7 +1596,7 @@ test_expect_success 'mixing incompatibles modes and options is forbidden' ' test_must_fail git tag --contains --no-contains ' -for option in --contains --no-contains --merged --no-merged --points-at +for option in --contains --with --no-contains --without --merged --no-merged --points-at do test_expect_success "mixing incompatible modes with $option is forbidden" " test_must_fail git tag -d $option HEAD &&
-- 2.11.0