From c0403f3f3823cbf67980e9dafd98abd10d3cdf8e Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Sun, 13 Feb 2022 16:18:17 +0000 Subject: [PATCH] fix bad test --- taskchampion/src/workingset.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/taskchampion/src/workingset.rs b/taskchampion/src/workingset.rs index 8bd0cce53..15a509753 100644 --- a/taskchampion/src/workingset.rs +++ b/taskchampion/src/workingset.rs @@ -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)]);