Skip to content

Commit 04748ea

Browse files
Carbonhellsyphar
authored andcommitted
fix(tests): correct index used in assert
1 parent 8b92de0 commit 04748ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/build_queue.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,9 +1062,9 @@ mod tests {
10621062
assert_eq!(queue[1].name, "foo1");
10631063
assert_eq!(queue[1].version, V2);
10641064
assert_eq!(queue[1].priority, PRIORITY_BROKEN_RUSTDOC);
1065-
assert_eq!(queue[1].name, "foo2");
1066-
assert_eq!(queue[1].version, V1);
1067-
assert_eq!(queue[1].priority, PRIORITY_BROKEN_RUSTDOC);
1065+
assert_eq!(queue[2].name, "foo2");
1066+
assert_eq!(queue[2].version, V1);
1067+
assert_eq!(queue[2].priority, PRIORITY_BROKEN_RUSTDOC);
10681068

10691069
Ok(())
10701070
}

0 commit comments

Comments
 (0)