We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-N
1 parent 4cde386 commit 7c193c6Copy full SHA for 7c193c6
cargo-insta/src/cli.rs
@@ -171,7 +171,7 @@ struct TestRunnerOptions {
171
#[arg(long)]
172
target: Option<String>,
173
/// Do not run `cargo test --doc` after `cargo nextest`, even if test specifiers would otherwise include doctests.
174
- #[arg(long)]
+ #[arg(long, short = 'N')]
175
disable_nextest_doctest: bool,
176
}
177
@@ -882,7 +882,7 @@ fn prepare_test_runner<'snapshot_ref>(
882
None
883
};
884
let mut prevents_doc_run = false;
885
- if cmd.disable_nextest_doctest {
+ if cmd.test_runner_options.disable_nextest_doctest {
886
prevents_doc_run = true;
887
888
if cmd.target_args.all || cmd.target_args.workspace {
0 commit comments