mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
test: Remove unnecessary feature usage in tests
This commit is contained in:
parent
a5a56d5865
commit
24b86d18d0
2 changed files with 1 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -14,7 +14,7 @@ _FEATURES = minimal default wasm full debug release
|
|||
_FEATURES_minimal = --no-default-features --features "std"
|
||||
_FEATURES_default =
|
||||
_FEATURES_wasm = --features "derive cargo env unicode yaml regex unstable-replace unstable-multicall unstable-grouped"
|
||||
_FEATURES_full = --features "derive cargo env unicode yaml regex unstable-replace unstable-multicall unstable-grouped wrap_help unstable-doc"
|
||||
_FEATURES_full = --features "derive cargo env unicode yaml regex unstable-replace unstable-multicall unstable-grouped wrap_help"
|
||||
_FEATURES_debug = ${_FEATURES_full} --features debug
|
||||
_FEATURES_release = ${_FEATURES_full} --release
|
||||
|
||||
|
|
|
@ -4,10 +4,6 @@
|
|||
fn example_tests() {
|
||||
let t = trycmd::TestCases::new();
|
||||
let features = [
|
||||
#[cfg(feature = "debug")]
|
||||
"debug",
|
||||
#[cfg(feature = "unstable-doc")]
|
||||
"unstable-doc",
|
||||
#[cfg(feature = "std")]
|
||||
"std",
|
||||
#[cfg(feature = "derive")]
|
||||
|
|
Loading…
Reference in a new issue