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