Skip to content

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

fix(tests): correct JSON-RPC e2e test to use proper request format

Steven Enamakelc298131c61da
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index cd5557e068..fcf0ac28d8 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -11331,7 +11331,10 @@ async fn json_rpc_flows_validate_reports_warnings_and_errors() {
assert_eq!(errors.len(), 1, "malformed graph has one parse error");
let error = errors[0].as_str().expect("string error");
assert!(error.contains("inputs[0]"), "missing member path: {error}");
- assert!(error.contains("missing field"), "missing serde detail: {error}");
+ assert!(
+ error.contains("missing field"),
+ "missing serde detail: {error}"
+ );
api_join.abort();
rpc_join.abort();