()
| 869 | |
| 870 | #[test] |
| 871 | fn test_dedup_all_duplicates() { |
| 872 | let existing = format!("{}\n### Repo\n- A\n- B\n{}", SECTION_START, SECTION_END); |
| 873 | let learnings = Learnings { |
| 874 | repo: vec!["A".into(), "B".into()], |
| 875 | code: vec![], |
| 876 | workflow: vec![], |
| 877 | }; |
| 878 | let deduped = dedup_learnings(&existing, &learnings); |
| 879 | assert!(deduped.is_empty()); |
| 880 | } |
| 881 | |
| 882 | #[test] |
| 883 | fn test_dedup_code_always_empty() { |
nothing calls this directly
no test coverage detected