()
| 1240 | |
| 1241 | #[test] |
| 1242 | fn test_store_count() { |
| 1243 | let (_dir, store) = make_store(); |
| 1244 | |
| 1245 | assert_eq!(store.count().unwrap(), 0); |
| 1246 | |
| 1247 | store.save(&make_session()).unwrap(); |
| 1248 | assert_eq!(store.count().unwrap(), 1); |
| 1249 | |
| 1250 | store.save(&AgentSession::new("sess-2", "a", "A")).unwrap(); |
| 1251 | assert_eq!(store.count().unwrap(), 2); |
| 1252 | } |
| 1253 | |
| 1254 | // SessionStore: for_repo |
| 1255 |
nothing calls this directly
no test coverage detected