diff --git a/01.workspace/heave/src/str/catalog.rs b/01.workspace/heave/src/str/catalog.rs index 449623c..630e5ec 100644 --- a/01.workspace/heave/src/str/catalog.rs +++ b/01.workspace/heave/src/str/catalog.rs @@ -238,7 +238,10 @@ mod tests { #[test] fn new_should_create_catalog_with_path_and_empty_items() { // Should create a new Catalog with the given path and an empty 'items' map. - todo!(); + let path = "test.db"; + let catalog = Catalog::new(path); + assert_eq!(catalog.path, path); + assert!(catalog.items.is_empty()); } // ## 'init()'