From 074036f9d585c238b920bfb55825ab58e597ecf4 Mon Sep 17 00:00:00 2001 From: John Baublitz Date: Tue, 8 Oct 2019 14:35:25 -0400 Subject: [PATCH] Use is_changed() in more tests --- src/engine/sim_engine/pool.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]