()
| 1296 | |
| 1297 | #[test] |
| 1298 | fn test_store_count() { |
| 1299 | let (_dir, store) = make_store(); |
| 1300 | |
| 1301 | assert_eq!(store.count().unwrap(), 0); |
| 1302 | |
| 1303 | store.save(&make_session()).unwrap(); |
| 1304 | assert_eq!(store.count().unwrap(), 1); |
| 1305 | |
| 1306 | store.save(&AgentSession::new("sess-2", "a", "A")).unwrap(); |
| 1307 | assert_eq!(store.count().unwrap(), 2); |
| 1308 | } |
| 1309 | |
| 1310 | // SessionStore: for_repo |
| 1311 |
nothing calls this directly
no test coverage detected