Skip to content

Commit a4a136f

Browse files
avargitster
authored andcommitted
wildmatch test: indent with tabs, not spaces
Replace the 4-width mixed space & tab indentation in this file with indentation with tabs as we do in most of the rest of our tests. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 728c573 commit a4a136f

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

t/t3070-wildmatch.sh

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,39 @@ test_description='wildmatch tests'
55
. ./test-lib.sh
66

77
match() {
8-
if [ $1 = 1 ]; then
9-
test_expect_success "wildmatch: match '$3' '$4'" "
10-
test-wildmatch wildmatch '$3' '$4'
11-
"
12-
else
13-
test_expect_success "wildmatch: no match '$3' '$4'" "
14-
! test-wildmatch wildmatch '$3' '$4'
15-
"
16-
fi
8+
if [ $1 = 1 ]; then
9+
test_expect_success "wildmatch: match '$3' '$4'" "
10+
test-wildmatch wildmatch '$3' '$4'
11+
"
12+
else
13+
test_expect_success "wildmatch: no match '$3' '$4'" "
14+
! test-wildmatch wildmatch '$3' '$4'
15+
"
16+
fi
1717
}
1818

1919
imatch() {
20-
if [ $1 = 1 ]; then
21-
test_expect_success "iwildmatch: match '$2' '$3'" "
22-
test-wildmatch iwildmatch '$2' '$3'
23-
"
24-
else
25-
test_expect_success "iwildmatch: no match '$2' '$3'" "
26-
! test-wildmatch iwildmatch '$2' '$3'
27-
"
28-
fi
20+
if [ $1 = 1 ]; then
21+
test_expect_success "iwildmatch: match '$2' '$3'" "
22+
test-wildmatch iwildmatch '$2' '$3'
23+
"
24+
else
25+
test_expect_success "iwildmatch: no match '$2' '$3'" "
26+
! test-wildmatch iwildmatch '$2' '$3'
27+
"
28+
fi
2929
}
3030

3131
pathmatch() {
32-
if [ $1 = 1 ]; then
33-
test_expect_success "pathmatch: match '$2' '$3'" "
34-
test-wildmatch pathmatch '$2' '$3'
35-
"
36-
else
37-
test_expect_success "pathmatch: no match '$2' '$3'" "
38-
! test-wildmatch pathmatch '$2' '$3'
39-
"
40-
fi
32+
if [ $1 = 1 ]; then
33+
test_expect_success "pathmatch: match '$2' '$3'" "
34+
test-wildmatch pathmatch '$2' '$3'
35+
"
36+
else
37+
test_expect_success "pathmatch: no match '$2' '$3'" "
38+
! test-wildmatch pathmatch '$2' '$3'
39+
"
40+
fi
4141
}
4242

4343
# Basic wildmat features

0 commit comments

Comments
 (0)