()
| 1227 | |
| 1228 | #[test] |
| 1229 | fn test_save_result_display_added() { |
| 1230 | let result = SaveResult { |
| 1231 | file_path: PathBuf::from("CLAUDE.md"), |
| 1232 | added: 3, |
| 1233 | skipped_duplicates: 0, |
| 1234 | }; |
| 1235 | let s = result.to_string(); |
| 1236 | assert!(s.contains("Added 3 learnings")); |
| 1237 | assert!(s.contains("CLAUDE.md")); |
| 1238 | } |
| 1239 | |
| 1240 | #[test] |
| 1241 | fn test_save_result_display_added_with_dupes() { |
nothing calls this directly
no outgoing calls
no test coverage detected