All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] t/t5400-send-pack.sh: use the canonical test_expect_success syntax
@ 2011-01-18 21:41 Ævar Arnfjörð Bjarmason
  2011-01-18 21:41 ` [PATCH 2/3] t/t5400-send-pack.sh: add test_when_finished commands Ævar Arnfjörð Bjarmason
  2011-01-18 21:41 ` [PATCH 3/3] t/t5400-send-pack.sh: re-indent subshell invocation Ævar Arnfjörð Bjarmason
  0 siblings, 2 replies; 4+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2011-01-18 21:41 UTC (permalink / raw)
  To: git; +Cc: gitster, Ævar Arnfjörð Bjarmason

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-18 23:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-18 21:41 [PATCH 1/3] t/t5400-send-pack.sh: use the canonical test_expect_success syntax Ævar Arnfjörð Bjarmason
2011-01-18 21:41 ` [PATCH 2/3] t/t5400-send-pack.sh: add test_when_finished commands Ævar Arnfjörð Bjarmason
2011-01-18 23:10   ` Junio C Hamano
2011-01-18 21:41 ` [PATCH 3/3] t/t5400-send-pack.sh: re-indent subshell invocation Ævar Arnfjörð Bjarmason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.