Skip to content

Commit

Permalink
Use is_changed() in more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaublitz committed Oct 8, 2019
1 parent e25ece6 commit 074036f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/sim_engine/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 074036f

Please sign in to comment.