diff --git a/src/graph/agent.rs b/src/graph/agent.rs index 23a94f4..fc8edde 100644 --- a/src/graph/agent.rs +++ b/src/graph/agent.rs @@ -832,6 +832,11 @@ mod tests { "warn must carry the error chain: {}", warns[0] ); + assert!( + warns[0].contains("no JSON object found in output"), + "fallback warn must carry the full error chain: {}", + warns[0] + ); } #[test]