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 72fad14 commit f327355Copy full SHA for f327355
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
@@ -961,7 +961,7 @@ fn prepare_test_runner<'snapshot_ref>(
961
None
962
};
963
let mut prevents_doc_run = false;
964
- if cmd.disable_nextest_doctest {
+ if cmd.test_runner_options.disable_nextest_doctest {
965
prevents_doc_run = true;
966
967
if cmd.target_args.all || cmd.target_args.workspace {
0 commit comments