()
| 732 | |
| 733 | #[test] |
| 734 | fn test_format_code_learning_full() { |
| 735 | let learning = CodeLearning::new("f.rs", Some(42), "Bug here") |
| 736 | .with_function("main") |
| 737 | .with_category("security"); |
| 738 | assert_eq!( |
| 739 | format_code_learning(&learning), |
| 740 | "f.rs:42 (main) — Bug here [security]" |
| 741 | ); |
| 742 | } |
| 743 | |
| 744 | // extract_finding |
| 745 |
nothing calls this directly
no test coverage detected