tests(cmd): ensure wrong statements are recognized

This commit is contained in:
Khaïs COLIN 2025-05-03 21:20:54 +02:00
parent 92c50d6b65
commit 848775587e
5 changed files with 26 additions and 1 deletions

View file

@ -1,8 +1,10 @@
#[derive(Debug)]
pub enum Statement {
Insert,
Select,
}
#[derive(Debug)]
pub enum StatementParseError {
Unrecognized { stmt: String },
}