You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo insta test --workspace --all-targets --exclude a --exclude b
error: The argument '--exclude <SPEC>' was provided more than once, but cannot be used multiple times
USAGE:
cargo insta test --all-targets --exclude <SPEC> --test-runner <test-runner> --unreferenced <unreferenced> --workspace
For more information try --help
Insta Version
cargo-insta 1.39.0
rustc Version
No response
What did you expect?
I expected it to behave like cargo test:
--exclude SPEC…
Exclude the specified packages. Must be used in conjunction with the --workspace flag. This flag may be specified multiple times and supports common Unix glob patterns like *, ? and []. However, to avoid your shell accidentally expanding glob >patterns before Cargo handles them, you must use single quotes or double quotes around each pattern.
The text was updated successfully, but these errors were encountered:
What happened?
I ran my test with multiple exclude flags.
Reproduction steps
cargo insta test --workspace --all-targets --exclude a --exclude b
Insta Version
cargo-insta 1.39.0
rustc Version
No response
What did you expect?
I expected it to behave like cargo test:
The text was updated successfully, but these errors were encountered: