[PATCH 1/3] t/t5400-send-pack.sh: use the canonical test_expect_success syntax
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jan 18, 2011, 21:41 UTC
- Message-ID
- <1295386896-21828-1-git-send-email-avarab@gmail.com>
Change t/t5400-send-pack.sh to use the usual test_expect_success syntax, i.e. change:
test_expect_success \
'description'To:
test_expect_success 'description'
Like the rest of the tests in t/t5400-send-pack.sh do.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> --- t/t5400-send-pack.sh | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh index b0b2684..656ab1a 100755 --- a/t/t5400-send-pack.sh +++ b/t/t5400-send-pack.sh @@ -76,8 +76,7 @@ test_expect_success 'refuse pushing rewound head without --force' ' test "$victim_head" = "$pushed_head" ' -test_expect_success \ - 'push can be used to delete a ref' ' +test_expect_success 'push can be used to delete a ref' ' ( cd victim && git branch extra master ) && git send-pack ./victim :extra master && ( cd victim &&
-- 1.7.2.3