PhotoCraft: An open-source, photo editor written by scratch in pure Rust
smart_map test: panic! instead of unreachable! (clippy::unreachable)
abc2cbb14d49237820
diff --git a/crates/io/src/smart_map.rs b/crates/io/src/smart_map.rsindex a82c2ca4c..10165316e 100644--- a/crates/io/src/smart_map.rs+++ b/crates/io/src/smart_map.rs@@ -1046,7 +1046,7 @@ mod tests {// Unscaled, it opens as PhotoCraft's Wave (Triangle, the other settings as stored).let mut unscaled = match item.get("Fltr") {Some(Value::Descriptor(d)) => d.clone(),- _ => unreachable!(),+ other => panic!("wave: no Fltr ({other:?})"),};set(&mut unscaled, "SclV", Value::Integer(100));let f = filter_from_item(&photoshop_item(unscaled.clone()));