()
| 596 | |
| 597 | #[test] |
| 598 | fn test_print_reasoning_basic() { |
| 599 | let reasoning = TurnReasoning { |
| 600 | intent: "Fix the auth bug".into(), |
| 601 | outcome: "Fixed token validation".into(), |
| 602 | learnings: transcript::Learnings { |
| 603 | repo: vec!["Uses RS256".into()], |
| 604 | code: vec![transcript::CodeLearning::new( |
| 605 | "src/auth.rs", |
| 606 | Some(42), |
| 607 | "Wrong timezone", |
| 608 | ) |
| 609 | .with_function("validate_token") |
| 610 | .with_category("bug")], |
| 611 | workflow: vec!["cargo test --lib is faster".into()], |
| 612 | }, |
| 613 | friction: vec!["Complex middleware".into()], |
| 614 | open_items: vec!["Refresh endpoint same bug".into()], |
| 615 | }; |
| 616 | |
| 617 | // Just verify it doesn't panic |
| 618 | print_reasoning(&reasoning); |
| 619 | } |
| 620 | |
| 621 | #[test] |
| 622 | fn test_print_reasoning_empty() { |
nothing calls this directly
no test coverage detected