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