Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
test-lib: parse options in a for loop to keep $@ intact
[gitweb.git]
/
t
/
t9902-completion.sh
diff --git
a/t/t9902-completion.sh
b/t/t9902-completion.sh
index 3c6b185b60891c164f56a638071873051420fdac..d01ad8eb2587ba32637d7ec8161811696a0aec34 100755
(executable)
--- a/
t/t9902-completion.sh
+++ b/
t/t9902-completion.sh
@@
-1249,7
+1249,7
@@
test_expect_success 'teardown after ref completion' '
test_path_completion ()
{
- test $# = 2 ||
error "bug in the test script:
not 2 parameters to test_path_completion"
+ test $# = 2 ||
BUG "
not 2 parameters to test_path_completion"
local cur="$1" expected="$2"
echo "$expected" >expected &&