Commit Graph
11 Commits
Author SHA1 Message Date
josh bf60247b50 add test for an option passed in twice 2013-01-21 21:19:36 -05:00
josh 1a5de331d9 test --opt=val syntax for nargs > 1 2013-01-21 16:15:17 -05:00
josh 704ed971ac test --opt=val syntax 2013-01-21 16:13:55 -05:00
josh c7c21ca97e test exception on not enough arguments to option 2013-01-21 16:12:34 -05:00
josh fc90798459 test option with nargs = 2 2013-01-21 16:11:29 -05:00
josh 4a693ba1ea return argument value when nargs = 1 2013-01-21 16:10:07 -05:00
josh 056257b8f5 return boolean options set 2013-01-20 22:54:06 -05:00
josh 56e644e16e raise exception on unknown option 2013-01-20 22:28:36 -05:00
josh 1a1b18b62e reformat spec to test parse() results separately 2013-01-20 20:35:34 -05:00
josh 67e9ec2c64 start working on parse() 2013-01-20 20:34:29 -05:00
josh c00ca806a5 set up rspec 2013-01-20 20:12:17 -05:00