diff --git a/tests/integration/fuzz/mod.rs b/tests/integration/fuzz/mod.rs index 1e4818c5e..59134a75b 100644 --- a/tests/integration/fuzz/mod.rs +++ b/tests/integration/fuzz/mod.rs @@ -599,14 +599,10 @@ mod tests { } else { format!("UPDATE t SET c{affected_col} = {new_y} WHERE c{predicate_col} {comparison} {predicate_value}") } + } else if omit_where { + "DELETE FROM t".to_string() } else { - if omit_where { - "DELETE FROM t".to_string() - } else { - format!( - "DELETE FROM t WHERE c{predicate_col} {comparison} {predicate_value}" - ) - } + format!("DELETE FROM t WHERE c{predicate_col} {comparison} {predicate_value}") }; dml_statements.push(query.clone());