()
| 2229 | |
| 2230 | #[test] |
| 2231 | fn test_store_count() { |
| 2232 | let (_dir, store) = make_store(); |
| 2233 | |
| 2234 | assert_eq!(store.count().unwrap(), 0); |
| 2235 | |
| 2236 | store.save(&make_session()).unwrap(); |
| 2237 | assert_eq!(store.count().unwrap(), 1); |
| 2238 | |
| 2239 | store.save(&AgentSession::new("sess-2", "a", "A")).unwrap(); |
| 2240 | assert_eq!(store.count().unwrap(), 2); |
| 2241 | } |
| 2242 | |
| 2243 | // SessionStore: for_repo |
| 2244 |
nothing calls this directly
no test coverage detected