diff --git a/src/engine/sim_engine/pool.rs b/src/engine/sim_engine/pool.rs index 9ef9714e2a2..0589a29cd3e 100644 --- a/src/engine/sim_engine/pool.rs +++ b/src/engine/sim_engine/pool.rs @@ -489,7 +489,7 @@ mod tests { .unwrap(); let pool = engine.get_mut_pool(uuid).unwrap().1; let fs = pool.create_filesystems(uuid, pool_name, &[]).unwrap(); - assert!(fs.changed().is_none()) + assert!(!fs.is_changed()) } #[test] @@ -530,7 +530,7 @@ mod tests { let set_create_action = pool .create_filesystems(uuid, pool_name, &[(fs_name, None)]) .unwrap(); - assert!(set_create_action.changed().is_none()); + assert!(!set_create_action.is_changed()); } #[test]