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:
Nickolay Ponomarev 2019-05-03 00:01:47 +03:00
parent fe635350f0
commit 0233604f9b

View file

@ -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)
}