tests(cmd): ensure wrong statements are recognized
This commit is contained in:
parent
92c50d6b65
commit
848775587e
5 changed files with 26 additions and 1 deletions
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
source: src/command.rs
|
||||
expression: "\"salact\".parse::<Command>()"
|
||||
---
|
||||
Err(
|
||||
Statement(
|
||||
Unrecognized {
|
||||
stmt: "salact",
|
||||
},
|
||||
),
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue