mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-08 01:15:00 +00:00
Test trailing commas (#859)
* test: add tests for trailing commas * tweaks
This commit is contained in:
parent
3b1076c194
commit
0113bbd924
12 changed files with 83 additions and 5 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue