Skip to content

Commit 9a52518

Browse files
committed
Simplify semicolon replacement for input string
1 parent 75cb98e commit 9a52518

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/test_utils.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,6 @@ impl TestedDialects {
194194
canonical: &str,
195195
) -> Vec<Statement> {
196196
let sql_without_semicolons = sql
197-
.replace("; ", " ")
198-
.replace(" ;", " ")
199-
.replace(";\n", "\n")
200-
.replace("\n;", "\n")
201197
.replace(";", " ");
202198
let statements = self
203199
.parse_sql_statements(&sql_without_semicolons)

0 commit comments

Comments
 (0)