Skip to content

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

test(mcp): improve grant deduplication test case

Steven Enamakel456a5c7d0135
diff --git a/crates/openhuman-core/src/mcp/host_sandbox_tests.rs b/crates/openhuman-core/src/mcp/host_sandbox_tests.rs
index f933f5bef5..f8ab9bbb84 100644
--- a/crates/openhuman-core/src/mcp/host_sandbox_tests.rs
+++ b/crates/openhuman-core/src/mcp/host_sandbox_tests.rs
@@ -128,7 +128,11 @@ fn merged_grants_are_deduplicated() {
let mut into = vec!["/a".to_string()];
merge(
&mut into,
- &[PathBuf::from("/a"), PathBuf::from("/b"), PathBuf::from("/b")],
+ &[
+ PathBuf::from("/a"),
+ PathBuf::from("/b"),
+ PathBuf::from("/b"),
+ ],
);
assert_eq!(into, vec!["/a".to_string(), "/b".to_string()]);
}