Plug-ins: the settings file test passes remove_plugin_storage its callback

This commit is contained in:
dotCooCoo
2026-11-08 19:37:01 -08:00
parent 9f9cf9e7ea
commit 623d8fdd83
+1 -1
View File
@@ -2864,7 +2864,7 @@ fn removing_a_plugin_drops_its_settings_from_memory() {
let mut m = Meter::unlimited();
assert_eq!(st.setting("zoom", &mut m).unwrap(), Some(b"hello".to_vec()));
assert_eq!(m.used(), bytes.len() as u64, "read from the file");
s.remove_plugin_storage(id).unwrap();
s.remove_plugin_storage(id, || true).unwrap();
}
/// The cache's total stays in memory while the cache folder keeps its time; a write and a clear