Commit graph

5 commits

Author SHA1 Message Date
umarcor
4120f6e4dc args_test: add additional helper functions
* noArgsWithArgs
* validWithInvalidArgs
* minimumNArgsWithLessArgs
* maximumNArgsWithMoreArgs
* exactArgsWithInvalidCount
* rangeArgsWithInvalidCount
2021-11-15 21:58:39 +01:00
umarcor
989590274f args_test: add helper function getCommand 2021-11-15 21:58:39 +01:00
umarcor
0fd7782b66 args_test: add helper function expectSuccess 2021-11-15 21:58:39 +01:00
bpdunni
f619abc1d7 Added ExactValidArgs (#765) 2018-10-21 10:01:21 -04:00
Albert Nigmatzianov
18eefcde17 Add tests for args.go 2017-11-09 07:56:43 +01:00