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.
1 parent 6b0add7 commit 2e5ad75Copy full SHA for 2e5ad75
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
@@ -843,7 +843,7 @@ fn prepare_test_runner<'snapshot_ref>(
843
None
844
};
845
let mut prevents_doc_run = false;
846
- if cmd.disable_nextest_doctest {
+ if cmd.test_runner_options.disable_nextest_doctest {
847
prevents_doc_run = true;
848
849
if cmd.target_args.all || cmd.target_args.workspace {
0 commit comments