()
| 1030 | |
| 1031 | #[test] |
| 1032 | fn test_needs_regen_not_found() { |
| 1033 | let dir = tempfile::tempdir().unwrap(); |
| 1034 | let db_path = dir.path().join("regen_notfound.redb"); |
| 1035 | let store = RedbChangeStore::open(&db_path).unwrap(); |
| 1036 | |
| 1037 | let bogus = [0xFF; 32]; |
| 1038 | let result = needs_semantic_regen(&store, &bogus); |
| 1039 | assert!(result.is_err()); |
| 1040 | } |
| 1041 | |
| 1042 | // ── regenerate_change (with redb store) ──────────────────────── |
| 1043 |
nothing calls this directly
no test coverage detected