MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_save_result_display_added

Function test_save_result_display_added

atomic-agent/src/learnings.rs:1229–1238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected