Test trailing commas (#859)

* test: add tests for trailing commas

* tweaks
This commit is contained in:
Aljaž Mur Eržen 2023-05-01 14:31:17 +02:00 committed by GitHub
parent 3b1076c194
commit 0113bbd924
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 83 additions and 5 deletions

View file

@ -267,6 +267,7 @@ fn parse_create_function() {
let generic = TestedDialects {
dialects: vec![Box::new(GenericDialect {})],
options: None,
};
assert_eq!(
@ -473,5 +474,6 @@ fn parse_similar_to() {
fn hive() -> TestedDialects {
TestedDialects {
dialects: vec![Box::new(HiveDialect {})],
options: None,
}
}