()
| 898 | |
| 899 | #[test] |
| 900 | fn test_require_missing() { |
| 901 | let table = HashDedupTable::new(make_hash(0)); |
| 902 | let result = table.require(&make_hash(99)); |
| 903 | assert!(result.is_err()); |
| 904 | assert!(matches!(result, Err(FormatError::HashNotFound { .. }))); |
| 905 | } |
| 906 | |
| 907 | // ── Resolve ──────────────────────────────────────────────────── |
| 908 |