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 b50d1d9 commit 563bbb7Copy full SHA for 563bbb7
cargo-insta/src/cli.rs
@@ -174,7 +174,7 @@ struct TestRunnerOptions {
174
#[arg(long)]
175
target: Option<String>,
176
/// Do not run `cargo test --doc` after `cargo nextest`, even if test specifiers would otherwise include doctests.
177
- #[arg(long)]
+ #[arg(long, short = 'N')]
178
disable_nextest_doctest: bool,
179
}
180
@@ -968,7 +968,7 @@ fn prepare_test_runner<'snapshot_ref>(
968
None
969
};
970
let mut prevents_doc_run = false;
971
- if cmd.disable_nextest_doctest {
+ if cmd.test_runner_options.disable_nextest_doctest {
972
prevents_doc_run = true;
973
974
if cmd.target_args.all || cmd.target_args.workspace {
0 commit comments