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>
This commit is contained in:
parent
728c573803
commit
a4a136f56e
@ -5,39 +5,39 @@ test_description='wildmatch tests'
|
|||||||
. ./test-lib.sh
|
. ./test-lib.sh
|
||||||
|
|
||||||
match() {
|
match() {
|
||||||
if [ $1 = 1 ]; then
|
if [ $1 = 1 ]; then
|
||||||
test_expect_success "wildmatch: match '$3' '$4'" "
|
test_expect_success "wildmatch: match '$3' '$4'" "
|
||||||
test-wildmatch wildmatch '$3' '$4'
|
test-wildmatch wildmatch '$3' '$4'
|
||||||
"
|
"
|
||||||
else
|
else
|
||||||
test_expect_success "wildmatch: no match '$3' '$4'" "
|
test_expect_success "wildmatch: no match '$3' '$4'" "
|
||||||
! test-wildmatch wildmatch '$3' '$4'
|
! test-wildmatch wildmatch '$3' '$4'
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
imatch() {
|
imatch() {
|
||||||
if [ $1 = 1 ]; then
|
if [ $1 = 1 ]; then
|
||||||
test_expect_success "iwildmatch: match '$2' '$3'" "
|
test_expect_success "iwildmatch: match '$2' '$3'" "
|
||||||
test-wildmatch iwildmatch '$2' '$3'
|
test-wildmatch iwildmatch '$2' '$3'
|
||||||
"
|
"
|
||||||
else
|
else
|
||||||
test_expect_success "iwildmatch: no match '$2' '$3'" "
|
test_expect_success "iwildmatch: no match '$2' '$3'" "
|
||||||
! test-wildmatch iwildmatch '$2' '$3'
|
! test-wildmatch iwildmatch '$2' '$3'
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
pathmatch() {
|
pathmatch() {
|
||||||
if [ $1 = 1 ]; then
|
if [ $1 = 1 ]; then
|
||||||
test_expect_success "pathmatch: match '$2' '$3'" "
|
test_expect_success "pathmatch: match '$2' '$3'" "
|
||||||
test-wildmatch pathmatch '$2' '$3'
|
test-wildmatch pathmatch '$2' '$3'
|
||||||
"
|
"
|
||||||
else
|
else
|
||||||
test_expect_success "pathmatch: no match '$2' '$3'" "
|
test_expect_success "pathmatch: no match '$2' '$3'" "
|
||||||
! test-wildmatch pathmatch '$2' '$3'
|
! test-wildmatch pathmatch '$2' '$3'
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Basic wildmat features
|
# Basic wildmat features
|
||||||
|
Loading…
Reference in New Issue
Block a user