mind-body: the wrong-dial fixture registers the brake it reads beside

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-09 16:25:26 +02:00
commit d125b95c8d

View file

@ -305,6 +305,7 @@ struct WrongDial {
fn write_wrong_dial(path: &Path, heat: &str) {
let mut cache = CultCache::new();
cache.register_entry_type::<WrongDial>().unwrap();
cache.register_entry_type::<mind_body::control::Brake>().unwrap();
cache.add_generic_backing_store(SingleFileMessagePackBackingStore::new(path)).unwrap();
cache.pull_all_backing_stores().unwrap();
cache.put(mind_body::control::DIAL_KEY, &WrongDial { heat: heat.into() }).unwrap();