mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-30 18:57:21 +00:00
Enforce clippy and rustfmt in CI
This commit is contained in:
parent
d80f9f3a7a
commit
b2c93bd969
2 changed files with 10 additions and 3 deletions
|
@ -1317,7 +1317,7 @@ fn parse_drop_table() {
|
|||
);
|
||||
assert_eq!(false, cascade);
|
||||
}
|
||||
_ => assert!(false),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
|
||||
let sql = "DROP TABLE IF EXISTS foo, bar CASCADE";
|
||||
|
@ -1336,7 +1336,7 @@ fn parse_drop_table() {
|
|||
);
|
||||
assert_eq!(true, cascade);
|
||||
}
|
||||
_ => assert!(false),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
|
||||
let sql = "DROP TABLE";
|
||||
|
@ -1365,7 +1365,7 @@ fn parse_drop_view() {
|
|||
);
|
||||
assert_eq!(SQLObjectType::View, object_type);
|
||||
}
|
||||
_ => assert!(false),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue