fix bad test

This commit is contained in:
Dustin J. Mitchell 2022-02-13 16:18:17 +00:00
parent fc73911cde
commit c0403f3f38

View file

@ -110,7 +110,10 @@ mod test {
#[test]
fn test_largest_index() {
let (uuid1, uuid2, ws) = make();
let uuid1 = Uuid::new_v4();
let uuid2 = Uuid::new_v4();
let ws = WorkingSet::new(vec![]);
assert_eq!(ws.largest_index(), 0);
let ws = WorkingSet::new(vec![None, Some(uuid1)]);