Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tizee committed Apr 20, 2024
1 parent f2dabd1 commit 4831b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sql/src/parsers/create_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ mod tests {
match &stmts.last().unwrap() {
Statement::CreateDatabase(c) => {
assert_eq!(c.name, ObjectName(vec![Ident::with_quote('`', "fOo")]));
assert_eq!(c.if_not_exists, false);
assert!(!c.if_not_exists);
}
_ => unreachable!(),
}
Expand All @@ -966,7 +966,7 @@ mod tests {
match &stmts[0] {
Statement::CreateDatabase(c) => {
assert_eq!(c.name.to_string(), "prometheus");
assert_eq!(c.if_not_exists, false);
assert!(!c.if_not_exists);
assert_eq!(
c.options.map.get_key_value("ttl"),
Some((&"ttl".to_string(), &"1h".to_string()))
Expand Down

0 comments on commit 4831b47

Please sign in to comment.