Skip to content

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

fix(test): update assertion to use report field

Steven Enamakel48cd59a9d0d0
diff --git a/crates/openhuman-core/src/memory/safety_tests.rs b/crates/openhuman-core/src/memory/safety_tests.rs
index 7b675ec7ab..a1e08ecc89 100644
--- a/crates/openhuman-core/src/memory/safety_tests.rs
+++ b/crates/openhuman-core/src/memory/safety_tests.rs
@@ -54,7 +54,7 @@ fn real_card_test_numbers_are_redacted() {
for card in ["4111111111111111", "5555555555554444"] {
let out = sanitize_text(&format!("pay with {card} now"));
assert!(!out.value.contains(card), "{card} survived: {}", out.value);
- assert!(out.changed());
+ assert!(out.report.changed());
}
}