another testcase for boolean argument parser
This commit is contained in:
parent
2770fbf3c3
commit
5d9f0eae6b
@ -145,6 +145,7 @@ fn test_boolean_arg() {
|
|||||||
variants.push(vec!["-enable"]);
|
variants.push(vec!["-enable"]);
|
||||||
variants.push(vec!["-enable=1"]);
|
variants.push(vec!["-enable=1"]);
|
||||||
variants.push(vec!["-enable", "yes"]);
|
variants.push(vec!["-enable", "yes"]);
|
||||||
|
variants.push(vec!["-enable", "Yes"]);
|
||||||
variants.push(vec!["--enable", "1"]);
|
variants.push(vec!["--enable", "1"]);
|
||||||
|
|
||||||
for args in variants {
|
for args in variants {
|
||||||
|
Loading…
Reference in New Issue
Block a user