mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 22:33:08 +02:00
fix bad test
This commit is contained in:
parent
fc73911cde
commit
c0403f3f38
1 changed files with 4 additions and 1 deletions
|
@ -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)]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue