diff --git a/crates/core/src/io.rs b/crates/core/src/io.rs index 4b76b546..7774d6c2 100644 --- a/crates/core/src/io.rs +++ b/crates/core/src/io.rs @@ -236,6 +236,7 @@ where #[cfg(test)] mod tests { + use stac_types::SelfHref; use tempfile::TempDir; use crate::{Catalog, Collection, Item, ItemCollection}; @@ -324,7 +325,9 @@ mod tests { fn write() { let tempdir = TempDir::new().unwrap(); let item = Item::new("an-id"); + println!("writing"); super::write(tempdir.path().join("item.json"), item).unwrap(); + println!("reading"); let item: Item = super::read(tempdir.path().join("item.json")).unwrap(); assert_eq!(item.id, "an-id"); }