Ed Page
a971346004
test(parser): Verify indices of defaults
...
I thought I had broken this but it always seemed to have worked this way
2022-06-04 12:58:53 -05:00
Ed Page
302bf63678
fix(parser): Always use delimiter on defaults/env
...
Doesn't make sense to respect how the command line ended
2022-05-26 20:50:44 -05:00
Ed Page
a712adefcd
fix(parser): Deprecate value_of
and friends
2022-05-25 12:57:11 -05:00
Ed Page
256643f8d3
fix: Deprecate possible_values
2022-05-25 12:57:11 -05:00
Ed Page
573d496bc6
fix: Deprecate forbid_empty_values
2022-05-25 12:57:11 -05:00
Ed Page
177511dab1
fix: Deprecate validator / validator_os
...
`validator_regex` is being ignored for now as I await on a comment
period for #3743
2022-05-25 12:57:11 -05:00
Ed Page
f15a1aab1a
fix: Deprecate allow_invalid_utf8
2022-05-25 12:57:11 -05:00
Ed Page
7cdce9cabe
refactor(test): Use snapbox's diffs
2022-04-29 15:32:25 -05:00
Ed Page
3f2a37088b
fix(assert): Validate delimited defaults
...
Fixes #3514
2022-02-28 09:21:44 -06:00
Ed Page
e8010e79a9
refactor: Update app variables to cmd
2022-02-14 15:55:56 -06:00
Ed Page
c4144d7d6c
docs: Update App references to Command
2022-02-14 15:33:49 -06:00
Ed Page
9f41bb3948
fix(assert): Report invalid defaults in debug asserts
...
This can help people catch them via `App::debug_assert` rather than
waiting until the default is used and validated.
Fixes #3202
2022-02-08 14:41:33 -06:00
Ed Page
b538a43961
refactor(error): Switch to error::ErrorKind
2022-02-02 15:41:24 -06:00
Ed Page
4538d618a7
refactor: Migrate off of .kind
2022-02-01 11:27:08 -06:00
Ed Page
9c6c0174d2
test: Show more detailed failures
2021-12-27 13:57:38 -06:00
Ed Page
bfc486501a
test: Panic, rather than exit, on error
...
Working on a fix for #3217 and can't see what is failing because the
test process exits.
2021-12-27 12:56:15 -06:00
Ed Page
045bf99ae0
test: Consolidate builder tests
...
This is prep for moving the derive tests. Besides organizing the test
folder for each API, this should reduce link time at the cost of
re-compiling more when a test changes.
2021-11-30 10:07:05 -06:00