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 c0b1cd1 commit 63f0f34Copy full SHA for 63f0f34
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
@@ -970,7 +970,7 @@ fn prepare_test_runner<'snapshot_ref>(
970
None
971
};
972
let mut prevents_doc_run = false;
973
- if cmd.disable_nextest_doctest {
+ if cmd.test_runner_options.disable_nextest_doctest {
974
prevents_doc_run = true;
975
976
if cmd.target_args.all || cmd.target_args.workspace {
0 commit comments