test(TASK-016): assert fallback warn carries the error root cause

This commit is contained in:
Dark-Alex-17 committed 2026-09-14 10:50:33 -06:00
1 parent 7dc950a092
commit 3dcb9541b1
1 file changed
+5
+5
View File
@@ -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]