Skip to content

Commit

Permalink
fix typo and add test for space
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmedal committed May 21, 2024
1 parent 7a534fb commit 44e9baa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datafusion/sql/src/unparser/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,8 @@ mod tests {
col("123_need_quoted").eq(lit(1)),
r#"("123_need_quoted" = 1)"#,
),
(col("need-qutoed").eq(lit(1)), r#"("need-qutoed" = 1)"#),
(col("need-quoted").eq(lit(1)), r#"("need-quoted" = 1)"#),
(col("need quoted").eq(lit(1)), r#"("need quoted" = 1)"#),
];

for (expr, expected) in tests {
Expand Down

0 comments on commit 44e9baa

Please sign in to comment.