Skip to content

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

test(native_ops): reformat empty slug rejection test

Steven Enamakelc3b605190f1b
diff --git a/crates/openhuman-core/src/tools/native_ops/flow_backend_tests.rs b/crates/openhuman-core/src/tools/native_ops/flow_backend_tests.rs
index 12d9249f54..746f6fcfcd 100644
--- a/crates/openhuman-core/src/tools/native_ops/flow_backend_tests.rs
+++ b/crates/openhuman-core/src/tools/native_ops/flow_backend_tests.rs
@@ -25,14 +25,9 @@ impl FlowPolicyHooks for NeverCalledHooks {
#[tokio::test]
async fn empty_native_slug_is_rejected_before_policy_hooks() {
- let error = invoke(
- &Config::default(),
- "oh: ",
- json!({}),
- &NeverCalledHooks,
- )
- .await
- .expect_err("empty tool names must fail");
+ let error = invoke(&Config::default(), "oh: ", json!({}), &NeverCalledHooks)
+ .await
+ .expect_err("empty tool names must fail");
assert_eq!(
error,
"tool_call node: native tool slug is empty (expected `oh:<tool_name>`)"