One more test

This commit is contained in:
John Doty 2024-07-31 15:07:27 -07:00
parent 3b1847d882
commit 6335944591

View file

@ -166,6 +166,7 @@ mod tests {
fn errors() {
assert_arg_parse!(&[], Args::Error);
assert_arg_parse!(&["browse", "google.com", "what"], Args::Error);
assert_arg_parse!(&["clip", "a.txt", "b.txt"], Args::Error);
assert_arg_parse!(&["a", "b"], Args::Error);
assert_arg_parse!(&["--server", "something"], Args::Error);
assert_arg_parse!(&["--server", "--sudo"], Args::Error);