From 24b86d18d0045912a1e995e791cb0d6f353cc9b0 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Sunkara Date: Sun, 13 Feb 2022 18:55:41 +0000 Subject: [PATCH] test: Remove unnecessary feature usage in tests --- Makefile | 2 +- tests/examples.rs | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 7597a9f8..a70f1fdf 100644 --- a/Makefile +++ b/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 diff --git a/tests/examples.rs b/tests/examples.rs index 402f54d7..dfe369ba 100644 --- a/tests/examples.rs +++ b/tests/examples.rs @@ -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")]