another testcase for boolean argument parser

This commit is contained in:
Dietmar Maurer 2018-11-17 11:29:42 +01:00
parent 2770fbf3c3
commit 5d9f0eae6b

View File

@ -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 {