()
| 241 | use super::*; |
| 242 | |
| 243 | fn open_catalog() -> (tempfile::TempDir, SystemCatalog) { |
| 244 | let dir = tempfile::tempdir().unwrap(); |
| 245 | let cat = SystemCatalog::open(&dir.path().join("system.redb")).unwrap(); |
| 246 | (dir, cat) |
| 247 | } |
| 248 | |
| 249 | #[test] |
| 250 | fn hwm_fresh_is_zero() { |