refactor: remove closure from create_test_items in test_save_item
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
7490be8e42
commit
c34d7ccf4d
@@ -74,7 +74,7 @@ mod tests {
|
||||
fn test_save_item() {
|
||||
with_temp_env(|data_dir| {
|
||||
// Create test items with the common environment setup
|
||||
create_test_items(data_dir, |input, tag| {
|
||||
create_test_items(data_dir);
|
||||
// Set the data directory for this test
|
||||
let env = format!("KEEP_DIR={} cargo run --", data_dir.display());
|
||||
|
||||
@@ -88,7 +88,6 @@ mod tests {
|
||||
output.status
|
||||
);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user