Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
wildmatch test: indent with tabs, not spaces
author
Ævar Arnfjörð Bjarmason
<avarab@gmail.com>
Tue, 30 Jan 2018 21:21:15 +0000
(21:21 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 30 Jan 2018 22:04:00 +0000
(14:04 -0800)
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>
t/t3070-wildmatch.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
728c573
)
diff --git
a/t/t3070-wildmatch.sh
b/t/t3070-wildmatch.sh
index 163a14a1c2cb77b2a644a7342fd554940f7dd2e3..27fa878f6e7730b9687f06cb7bab1808c2c722bf 100755
(executable)
--- a/
t/t3070-wildmatch.sh
+++ b/
t/t3070-wildmatch.sh
@@
-5,39
+5,39
@@
test_description='wildmatch tests'
. ./test-lib.sh
match() {
. ./test-lib.sh
match() {
- if [ $1 = 1 ]; then
- test_expect_success "wildmatch: match '$3' '$4'" "
- test-wildmatch wildmatch '$3' '$4'
- "
- else
- test_expect_success "wildmatch: no match '$3' '$4'" "
- ! test-wildmatch wildmatch '$3' '$4'
- "
- fi
+
if [ $1 = 1 ]; then
+
test_expect_success "wildmatch: match '$3' '$4'" "
+
test-wildmatch wildmatch '$3' '$4'
+
"
+
else
+
test_expect_success "wildmatch: no match '$3' '$4'" "
+
! test-wildmatch wildmatch '$3' '$4'
+
"
+
fi
}
imatch() {
}
imatch() {
- if [ $1 = 1 ]; then
- test_expect_success "iwildmatch: match '$2' '$3'" "
- test-wildmatch iwildmatch '$2' '$3'
- "
- else
- test_expect_success "iwildmatch: no match '$2' '$3'" "
- ! test-wildmatch iwildmatch '$2' '$3'
- "
- fi
+
if [ $1 = 1 ]; then
+
test_expect_success "iwildmatch: match '$2' '$3'" "
+
test-wildmatch iwildmatch '$2' '$3'
+
"
+
else
+
test_expect_success "iwildmatch: no match '$2' '$3'" "
+
! test-wildmatch iwildmatch '$2' '$3'
+
"
+
fi
}
pathmatch() {
}
pathmatch() {
- if [ $1 = 1 ]; then
- test_expect_success "pathmatch: match '$2' '$3'" "
- test-wildmatch pathmatch '$2' '$3'
- "
- else
- test_expect_success "pathmatch: no match '$2' '$3'" "
- ! test-wildmatch pathmatch '$2' '$3'
- "
- fi
+
if [ $1 = 1 ]; then
+
test_expect_success "pathmatch: match '$2' '$3'" "
+
test-wildmatch pathmatch '$2' '$3'
+
"
+
else
+
test_expect_success "pathmatch: no match '$2' '$3'" "
+
! test-wildmatch pathmatch '$2' '$3'
+
"
+
fi
}
# Basic wildmat features
}
# Basic wildmat features