mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
13 lines
366 B
Rust
13 lines
366 B
Rust
#![cfg(not(tarpaulin))]
|
|
|
|
#[test]
|
|
fn example_tests() {
|
|
let t = trycmd::TestCases::new();
|
|
let features: &[&str] = &[
|
|
#[cfg(feature = "unstable-dynamic")]
|
|
"unstable-dynamic",
|
|
];
|
|
let features = features.join(" ");
|
|
t.register_bins(trycmd::cargo::compile_examples(["--features", &features]).unwrap());
|
|
t.case("examples/**/*.md");
|
|
}
|