Marti Raudsepp
cda89a2af1
Fix typos and grammar
...
Some more fixes in addition to 594c535ba2
* Some I noticed manually.
* Some were found by Topy (https://github.com/intgr/topy ), either new
rules from Typo or new code in clap.
* `etc.` and `e.g.` rules were disabled during the last run.
2020-10-10 16:22:05 +03:00
Pavan Kumar Sunkara
7bc282dd4e
Rename with_name to new for Arg & ArgGroup
2020-05-14 22:50:56 +02:00
creativcoder
92d5920748
Updated test and usage of older help APIs with about
2020-04-27 02:42:07 +05:30
Ivan Veselov
0f3bdc439e
Fix ArgMatcher consuming extra arguments when max_values
is set
2020-04-10 09:35:20 +02:00
Pavan Kumar Sunkara
15edb69a0d
Address review comments
2020-04-10 00:33:16 +02:00
Pavan Kumar Sunkara
b7f76d8e8d
Put the test helper in tests
2020-02-04 09:51:46 +01:00
Tyler Ruckinger
83b0ab5064
Fixup tests
2019-06-25 19:02:53 -04:00
Kevin K
20c72525d2
style: cargo fmt run
2018-11-14 12:05:06 -05:00
Kevin K
03333800fe
refactor: remove code going to other crates and deprecations
2018-10-19 23:31:06 -04:00
Kevin K
94872e00a5
refactor(Arg): changes Arg::short to accept a char instead of &str
...
Closes #1303
2018-07-23 15:10:12 -04:00
Kevin K
78090e5529
tests: removes some instances of println in the tests
2018-01-25 22:36:20 -05:00
Kevin K
1ab10275e4
style: rustfmt run
2018-01-25 12:21:17 -05:00
Kevin K
7ac5a5af9f
tests: cleans up certain test cases litle by little
2018-01-09 10:53:20 -05:00
Kevin K
9435b2a589
tests: adds tests to make sure args are preferred over matching subcommands when values are possible
2017-10-24 14:59:31 -07:00
Kevin K
aa26a50d5c
tests: adds tests to guard against low index multiples with allow_hyphen_values failing
2017-01-02 14:34:25 -05:00
Kevin K
9d9683feb0
tests(Arg::value_terminator): adds tests for Arg::value_termintaor
2017-01-02 12:23:03 -05:00
Kevin K
908d78eb82
tests: adds tests against issue-725 part 2
2016-11-01 23:32:26 -04:00
Kevin K
74360184fa
tests(Multiple Values): renames some tests to reduce redundancy
2016-11-01 16:25:54 -04:00
Kevin K
ac49e7bc04
tests: adds tests for low index positionals with multiple(true) set
2016-11-01 16:25:54 -04:00
Hideyuki Tanaka
8cd120c230
Fix the behavior of require_delimiter
2016-10-04 18:40:03 -04:00
Kevin K
d12649fd7b
tests: adds tests for value delimiters
2016-09-18 16:01:26 -04:00
Kevin K
9881a4a23a
tests(Value Delimiters): updates tests to new value delimiter rules
2016-09-10 18:18:43 -04:00
Kevin K
26f2e5feb0
tests(Multiple Values): fixes failing benches and adds tests to guard
2016-02-04 22:15:10 -05:00
Kevin K
2ba12b8b76
tests(Multiple Values): adds test for exact number of values
2016-02-04 19:44:30 -05:00
Kevin K
4735f4d5cb
tests(SubCommands): adds tests for subcmds after mult args
2016-01-31 07:37:20 -05:00
Kevin K
474f27af43
tests: adds tests for values when delims have been turned off
2016-01-28 11:45:31 -05:00
Kevin K
7b0ff38fe7
tests: adds tests for different value delimiters
2016-01-28 11:45:31 -05:00
Kevin K
28041cdad9
tests: adds tests for comma separated values
2016-01-28 11:45:31 -05:00
Kevin K
32dd302f97
tests: fixes tests for optional option values
2016-01-28 11:45:31 -05:00
Kevin K
c3e96232c9
tests(v2): fixing more tests on the new v2 base
2016-01-28 11:45:31 -05:00
Kevin K
0031d78564
refactor(v2): improving macros for code dedup
2016-01-28 11:45:31 -05:00
Kevin K
7fc18e685f
test(v2): fixing tests to pass under new v2 changes
2016-01-28 11:45:31 -05:00
Sung Rim Huh
e2c63cded7
tests(multiple_values): add positional multiple values
2016-01-13 08:28:24 -08:00
Sung Rim Huh
389d14ab85
tests(multiple_values): move tests related to multiple values
2015-12-10 09:09:50 -08:00