Skip to content

Commit eeaf25b

Browse files
committed
test(unparser): drop an unnecessary escape in an assertion string
`\'` inside a double-quoted literal is the same string as `'`.
1 parent 3bdff2d commit eeaf25b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datafusion/sql/tests/cases/plan_to_sql.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4328,7 +4328,7 @@ fn test_filter_above_a_sort_fetch_is_refused() -> Result<()> {
43284328
.build()?;
43294329
let error =
43304330
plan_to_sql(&plan).expect_err("a filter above a sort fetch cannot be unparsed");
4331-
assert_contains!(error.to_string(), "after a sort\'s fetch");
4331+
assert_contains!(error.to_string(), "after a sort's fetch");
43324332

43334333
Ok(())
43344334
}

0 commit comments

Comments
 (0)