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 <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Jan 30, 2018 at 21:21 UTC
a4a136f56ebd16113269c48863e456ed0a4ef776
1 file changed
+27
-27
t/t3070-wildmatch.sh
+27
-27
@@ -5,39 +5,39 @@ test_description='wildmatch tests'
5
. ./test-lib.sh
6
7
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
17
}
18
19
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
29
}
30
31
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
41
}
42
43
# Basic wildmat features