Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(storage): simplify second import assertion in legacy test

Steven Enamakel76774268c8e4
diff --git a/crates/openhuman-core/src/storage/layout/legacy_tests.rs b/crates/openhuman-core/src/storage/layout/legacy_tests.rs
index 7306127675..11ebdeeabd 100644
--- a/crates/openhuman-core/src/storage/layout/legacy_tests.rs
+++ b/crates/openhuman-core/src/storage/layout/legacy_tests.rs
@@ -30,7 +30,7 @@ async fn importing_twice_changes_nothing() {
import(&fx.target, &fx.config).await.unwrap();
migrate(&fx.target).await.unwrap();
let first = super::super::db::table_counts(&v1_db(&fx.target)).unwrap();
- if let Err(e) = import(&fx.target, &fx.config).await { eprintln!("DBG2 {e:#}"); panic!("x"); }
+ import(&fx.target, &fx.config).await.unwrap();
migrate(&fx.target).await.unwrap();
assert_eq!(
super::super::db::table_counts(&v1_db(&fx.target)).unwrap(),