Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'bw/kwset-use-unsigned'
[gitweb.git]
/
t
/
t0030-stripspace.sh
diff --git
a/t/t0030-stripspace.sh
b/t/t0030-stripspace.sh
index 0333dd9875af9fbbad04cf05eb9f0e9fe37ae182..29e91d861cbd6473d80c7343a0e292b010d83173 100755
(executable)
--- a/
t/t0030-stripspace.sh
+++ b/
t/t0030-stripspace.sh
@@
-432,4
+432,10
@@
test_expect_success '-c with changed comment char' '
test_cmp expect actual
'
+test_expect_success 'avoid SP-HT sequence in commented line' '
+ printf "#\tone\n#\n# two\n" >expect &&
+ printf "\tone\n\ntwo\n" | git stripspace -c >actual &&
+ test_cmp expect actual
+'
+
test_done