()
| 350 | |
| 351 | #[test] |
| 352 | fn test_code_learning_display() { |
| 353 | let l = CodeLearning::new("src/auth.rs", Some(42), "Wrong timezone") |
| 354 | .with_function("validate_token") |
| 355 | .with_category("bug"); |
| 356 | let s = l.to_string(); |
| 357 | assert_eq!(s, "src/auth.rs:42 (validate_token) — Wrong timezone [bug]"); |
| 358 | } |
| 359 | |
| 360 | #[test] |
| 361 | fn test_code_learning_display_range() { |
nothing calls this directly
no test coverage detected