From 66eeb220524f0bc6393a69d8f7e78a7500572f7a Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 11 Oct 2026 17:55:19 +0200 Subject: [PATCH] cultcache-rs tests: drop the leftover mixed case so union_parity compiles The previous commit's union_parity.rs did not compile (mixed_past was removed from its definition but not from the case list). a5c0f876 does not build its tests; this commit does. Co-Authored-By: Claude Sonnet 5.5 --- packages/cultcache-rs/tests/union_parity.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/cultcache-rs/tests/union_parity.rs b/packages/cultcache-rs/tests/union_parity.rs index 6725e9c6..da2b1a08 100644 --- a/packages/cultcache-rs/tests/union_parity.rs +++ b/packages/cultcache-rs/tests/union_parity.rs @@ -751,7 +751,6 @@ fn the_raw_doors_hold_the_bound_for_arms_maps_and_arrays() { (UnionSurface::TYPE, "arms", arms_at, arms_past), (MapDoc::TYPE, "maps", maps_at, maps_past), (UnionSurface::TYPE, "arrays", arrays_at, arrays_past), - (UnionSurface::TYPE, "mixed", Vec::new(), mixed_past), ]; for (type_name, name, at, past) in cases { let temp = tempfile::tempdir().unwrap(); @@ -760,10 +759,8 @@ fn the_raw_doors_hold_the_bound_for_arms_maps_and_arrays() { cache.register_entry_type::().unwrap(); cache.register_entry_type::().unwrap(); cache.add_generic_backing_store(SingleFileMessagePackBackingStore::new(&path)).unwrap(); - if !at.is_empty() { - cache.put_raw_envelope(raw(type_name, "at-raw", at.clone())).unwrap(); - cache.put_prepared_batch(vec![raw(type_name, "at-batch", at.clone())]).unwrap(); - } + cache.put_raw_envelope(raw(type_name, "at-raw", at.clone())).unwrap(); + cache.put_prepared_batch(vec![raw(type_name, "at-batch", at.clone())]).unwrap(); let stored = cache.snapshot_envelopes(); let file_before = std::fs::read(&path).unwrap();