tests: Fix check.
- When checking if there are any user ID arguments, also check for `--userid`.
This commit is contained in:
parent
574dcf9b22
commit
8e41fb7cd4
@ -755,7 +755,8 @@ impl Sq {
|
||||
|
||||
let any_userids = ! userids.is_empty()
|
||||
|| extra_args.iter().any(|a| a.starts_with("--name")
|
||||
|| a.starts_with("--email"));
|
||||
|| a.starts_with("--email")
|
||||
|| a.starts_with("--userid"));
|
||||
if ! any_userids {
|
||||
cmd.arg("--no-userids");
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user