()
| 608 | |
| 609 | #[test] |
| 610 | fn test_insert_change_computes_hash() { |
| 611 | let store = MemoryChangeStore::new(); |
| 612 | let change = create_test_change("Auto hash", b"data"); |
| 613 | |
| 614 | let hash = store.insert_change(change).unwrap(); |
| 615 | |
| 616 | assert!(store.has_change(&hash)); |
| 617 | } |
| 618 | |
| 619 | #[test] |
| 620 | fn test_remove() { |
nothing calls this directly
no test coverage detected