Skip to content

Commit 44e9baa

Browse files
committed
fix typo and add test for space
1 parent 7a534fb commit 44e9baa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

datafusion/sql/src/unparser/expr.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,8 @@ mod tests {
12481248
col("123_need_quoted").eq(lit(1)),
12491249
r#"("123_need_quoted" = 1)"#,
12501250
),
1251-
(col("need-qutoed").eq(lit(1)), r#"("need-qutoed" = 1)"#),
1251+
(col("need-quoted").eq(lit(1)), r#"("need-quoted" = 1)"#),
1252+
(col("need quoted").eq(lit(1)), r#"("need quoted" = 1)"#),
12521253
];
12531254

12541255
for (expr, expected) in tests {

0 commit comments

Comments
 (0)