From 5d9f0eae6b3e754c062bc6fc0e083e7688efbfaa Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 17 Nov 2018 11:29:42 +0100 Subject: [PATCH] another testcase for boolean argument parser --- src/getopts.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/getopts.rs b/src/getopts.rs index 8eb0cdef..a5ff693e 100644 --- a/src/getopts.rs +++ b/src/getopts.rs @@ -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 {