wildmatch test: don't try to vertically align our output
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>
Ævar Arnfjörð Bjarmason committed
Jan 30, 2018 at 21:21 UTC
f5ebe8f3f1d481fb25fd71a80b0909987fcb2884
1 file changed
+5
-5
t/t3070-wildmatch.sh
+5
-5
@@ -7,11 +7,11 @@ test_description='wildmatch tests'
7
match() {
8
if test "$1" = 1
9
then
10
- test_expect_success "wildmatch: match '$3' '$4'" "
10
+ test_expect_success "wildmatch: match '$3' '$4'" "
11
test-wildmatch wildmatch '$3' '$4'
12
"
13
else
14
- test_expect_success "wildmatch: no match '$3' '$4'" "
14
+ test_expect_success "wildmatch: no match '$3' '$4'" "
15
! test-wildmatch wildmatch '$3' '$4'
16
"
17
fi
@@ -20,7 +20,7 @@ match() {
20
imatch() {
21
if test "$1" = 1
22
then
23
- test_expect_success "iwildmatch: match '$2' '$3'" "
23
+ test_expect_success "iwildmatch: match '$2' '$3'" "
24
test-wildmatch iwildmatch '$2' '$3'
25
"
26
else
@@ -33,11 +33,11 @@ imatch() {
33
pathmatch() {
34
if test "$1" = 1
35
then
36
- test_expect_success "pathmatch: match '$2' '$3'" "
36
+ test_expect_success "pathmatch: match '$2' '$3'" "
37
test-wildmatch pathmatch '$2' '$3'
38
"
39
else
40
- test_expect_success "pathmatch: no match '$2' '$3'" "
40
+ test_expect_success "pathmatch: no match '$2' '$3'" "
41
! test-wildmatch pathmatch '$2' '$3'
42
"
43
fi