mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-10 02:14:58 +00:00
Remove extraneous tests
`parse_example_value` parses as compound identifier, which makes no sense ("SARAH"."LEWISE@sakilacustomer"."org") `parse_function_now` is unnecessary since we already test the parsing of functions in `parse_scalar_function_in_projection`
This commit is contained in:
parent
fe635350f0
commit
0233604f9b
1 changed files with 0 additions and 14 deletions
|
@ -310,20 +310,6 @@ fn parse_timestamps_with_millis_example() {
|
|||
//assert_eq!(sql, ast.to_string());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_example_value() {
|
||||
let sql = "SARAH.LEWIS@sakilacustomer.org";
|
||||
let ast = parse_sql_expr(sql);
|
||||
assert_eq!(sql, ast.to_string());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_function_now() {
|
||||
let sql = "now()";
|
||||
let ast = parse_sql_expr(sql);
|
||||
assert_eq!(sql, ast.to_string());
|
||||
}
|
||||
|
||||
fn verified_stmt(query: &str) -> SQLStatement {
|
||||
one_statement_parses_to(query, query)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue