One more test
This commit is contained in:
parent
3b1847d882
commit
6335944591
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue