review: change test function name to make it clearer and coherent

This commit is contained in:
2026-03-02 09:46:16 +01:00
parent b058aac5da
commit d5497906be

View File

@@ -32,7 +32,7 @@ mod tests {
let _ = catalog.insert_many(items);
}
#[test]
fn all_prices_should_be_changed() {
fn for_each_mut_should_change_all_prices() {
let mut catalog = Catalog::new("test.db");
prepare_catalog(&mut catalog);
let _ = catalog.for_each_mut(|item: &mut Item| {