review: change test function name to make it clearer and coherent
This commit is contained in:
@@ -32,7 +32,7 @@ mod tests {
|
|||||||
let _ = catalog.insert_many(items);
|
let _ = catalog.insert_many(items);
|
||||||
}
|
}
|
||||||
#[test]
|
#[test]
|
||||||
fn all_prices_should_be_changed() {
|
fn for_each_mut_should_change_all_prices() {
|
||||||
let mut catalog = Catalog::new("test.db");
|
let mut catalog = Catalog::new("test.db");
|
||||||
prepare_catalog(&mut catalog);
|
prepare_catalog(&mut catalog);
|
||||||
let _ = catalog.for_each_mut(|item: &mut Item| {
|
let _ = catalog.for_each_mut(|item: &mut Item| {
|
||||||
|
|||||||
Reference in New Issue
Block a user