[PATCH 1/3] Change tests from expecting to fail to expecting success.
- From
- Stephen P. Smith <ischis2@cox.net>
- Date
- Aug 31, 2018, 05:39 UTC
- Message-ID
- <20180831053921.8083-2-ischis2@cox.net>
- In-Reply-To
- <20180831053921.8083-1-ischis2@cox.net>
Two tests were written which showed failure cases when passing --procelain or --short.
Change the test to expect success since updates to the wt-status broken code section is being fixed.
Signed-off-by: Stephen P. Smith <ischis2@cox.net> --- t/t7501-commit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh index 4cae92804..810d4cea7 100755 --- a/t/t7501-commit.sh +++ b/t/t7501-commit.sh @@ -99,12 +99,12 @@ test_expect_success '--dry-run with stuff to commit returns ok' ' git commit -m next -a --dry-run ' -test_expect_failure '--short with stuff to commit returns ok' ' +test_expect_success '--short with stuff to commit returns ok' ' echo bongo bongo bongo >>file && git commit -m next -a --short ' -test_expect_failure '--porcelain with stuff to commit returns ok' ' +test_expect_success '--porcelain with stuff to commit returns ok' ' echo bongo bongo bongo >>file && git commit -m next -a --porcelain '
-- 2.18.0