Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
clone: send server options when using protocol v2
[gitweb.git]
/
t
/
helper
/
test-parse-options.c
diff --git
a/t/helper/test-parse-options.c
b/t/helper/test-parse-options.c
index f0623bb42bb1917a481c676316fe609779f84323..47fee660b86a6e6977735e2c940de79d4330d519 100644
(file)
--- a/
t/helper/test-parse-options.c
+++ b/
t/helper/test-parse-options.c
@@
-36,6
+36,7
@@
static int length_callback(const struct option *opt, const char *arg, int unset)
static int number_callback(const struct option *opt, const char *arg, int unset)
{
+ BUG_ON_OPT_NEG(unset);
*(int *)opt->value = strtol(arg, NULL, 10);
return 0;
}