wildmatch test: don't try to vertically align our output
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 30 Jan 2018 21:21:17 +0000 (21:21 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Jan 2018 22:04:00 +0000 (14:04 -0800)
Don't try to vertically align the test output, which is futile anyway
under the TAP output where we're going to be emitting a number for
each test without aligning the test count.

This makes subsequent changes of mine where I'm not going to be
aligning this output as I add new tests easier.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3070-wildmatch.sh
index 4d589d1f9a9f40075194076c135d0b6e0f50127c..19ea64bba90c17358536b9b563c18276f2646e86 100755 (executable)
@@ -7,11 +7,11 @@ test_description='wildmatch tests'
 match() {
        if test "$1" = 1
        then
-               test_expect_success "wildmatch:     match '$3' '$4'" "
+               test_expect_success "wildmatch: match '$3' '$4'" "
                        test-wildmatch wildmatch '$3' '$4'
                "
        else
-               test_expect_success "wildmatch:  no match '$3' '$4'" "
+               test_expect_success "wildmatch: no match '$3' '$4'" "
                        ! test-wildmatch wildmatch '$3' '$4'
                "
        fi
@@ -20,7 +20,7 @@ match() {
 imatch() {
        if test "$1" = 1
        then
-               test_expect_success "iwildmatch:    match '$2' '$3'" "
+               test_expect_success "iwildmatch: match '$2' '$3'" "
                        test-wildmatch iwildmatch '$2' '$3'
                "
        else
@@ -33,11 +33,11 @@ imatch() {
 pathmatch() {
        if test "$1" = 1
        then
-               test_expect_success "pathmatch:     match '$2' '$3'" "
+               test_expect_success "pathmatch: match '$2' '$3'" "
                        test-wildmatch pathmatch '$2' '$3'
                "
        else
-               test_expect_success "pathmatch:  no match '$2' '$3'" "
+               test_expect_success "pathmatch: no match '$2' '$3'" "
                        ! test-wildmatch pathmatch '$2' '$3'
                "
        fi