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

Function test_save_result_display_singular

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

Source from the content-addressed store, hash-verified

1262
1263 #[test]
1264 fn test_save_result_display_singular() {
1265 let result = SaveResult {
1266 file_path: PathBuf::from("CLAUDE.md"),
1267 added: 1,
1268 skipped_duplicates: 0,
1269 };
1270 let s = result.to_string();
1271 assert!(s.contains("Added 1 learning to")); // singular
1272 assert!(!s.contains("learnings"));
1273 }
1274}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected