diff --git a/crates/dbx-core/src/csv_export.rs b/crates/dbx-core/src/csv_export.rs index ad484d4bd6..e20702a200 100644 --- a/crates/dbx-core/src/csv_export.rs +++ b/crates/dbx-core/src/csv_export.rs @@ -423,7 +423,7 @@ mod tests { let mut csv = String::new(); super::push_query_result_csv_row(&mut csv, &row); - assert_eq!(csv, super::format_query_result_csv_rows(&[row.clone()])); + assert_eq!(csv, super::format_query_result_csv_rows(std::slice::from_ref(&row))); let mut table_csv = String::new(); super::push_table_csv_row(&mut table_csv, &row);