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