()
| 1359 | |
| 1360 | #[test] |
| 1361 | fn test_store_count() { |
| 1362 | let (_dir, store) = make_store(); |
| 1363 | |
| 1364 | assert_eq!(store.count().unwrap(), 0); |
| 1365 | |
| 1366 | store.save(&make_session()).unwrap(); |
| 1367 | assert_eq!(store.count().unwrap(), 1); |
| 1368 | |
| 1369 | store.save(&AgentSession::new("sess-2", "a", "A")).unwrap(); |
| 1370 | assert_eq!(store.count().unwrap(), 2); |
| 1371 | } |
| 1372 | |
| 1373 | // SessionStore: for_repo |
| 1374 |
nothing calls this directly
no test coverage detected