mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
code cleanup
This commit is contained in:
parent
9b1612fe5b
commit
60acdc5bb6
1 changed files with 2 additions and 2 deletions
|
@ -2181,7 +2181,7 @@ fn parse_pg_regex_match_ops() {
|
|||
];
|
||||
|
||||
for (str_op, op) in pg_regex_match_ops {
|
||||
// Basic binary operation usage
|
||||
// Basic binary operator usage
|
||||
let select = pg().verified_only_select(&format!("SELECT 'abc' {str_op} '^a'"));
|
||||
assert_eq!(
|
||||
SelectItem::UnnamedExpr(Expr::BinaryOp {
|
||||
|
@ -2223,7 +2223,7 @@ fn parse_pg_like_match_ops() {
|
|||
];
|
||||
|
||||
for (str_op, op) in pg_like_match_ops {
|
||||
// Basic binary operation usage
|
||||
// Basic binary operator usage
|
||||
let select = pg().verified_only_select(&format!("SELECT 'abc' {str_op} 'a_c%'"));
|
||||
assert_eq!(
|
||||
SelectItem::UnnamedExpr(Expr::BinaryOp {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue