From 238bfd17dba1ff2cf7a439eb097a556e7a0576d1 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Fri, 1 Nov 2024 12:24:37 -0600 Subject: [PATCH] more debug-by-ci --- crates/core/src/io.rs | 3 +++ 1 file changed, 3 insertions(+) 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"); }