()
| 1207 | |
| 1208 | #[test] |
| 1209 | fn test_save_gemini() { |
| 1210 | let dir = TempDir::new().unwrap(); |
| 1211 | let learnings = Learnings { |
| 1212 | repo: vec!["Gemini learning".into()], |
| 1213 | code: vec![], |
| 1214 | workflow: vec![], |
| 1215 | }; |
| 1216 | |
| 1217 | save_learnings_to_context_file(dir.path(), "gemini-cli", &learnings).unwrap(); |
| 1218 | |
| 1219 | assert!(dir.path().join("GEMINI.md").exists()); |
| 1220 | let content = std::fs::read_to_string(dir.path().join("GEMINI.md")).unwrap(); |
| 1221 | assert!(content.contains("- Gemini learning")); |
| 1222 | } |
| 1223 | |
| 1224 | // SaveResult display |
| 1225 |
nothing calls this directly
no test coverage detected