()
| 710 | |
| 711 | #[test] |
| 712 | fn test_context_file_learning_count() { |
| 713 | let learnings = Learnings { |
| 714 | repo: vec!["a".into(), "b".into()], |
| 715 | code: vec![CodeLearning::new("f", None, "c")], // not counted |
| 716 | workflow: vec!["d".into()], |
| 717 | }; |
| 718 | assert_eq!(context_file_learning_count(&learnings), 3); // 2 repo + 1 workflow |
| 719 | } |
| 720 | |
| 721 | #[test] |
| 722 | fn test_format_code_learning_no_line() { |
nothing calls this directly
no outgoing calls
no test coverage detected