Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
brglng committed Aug 14, 2024
1 parent a941488 commit 2c625ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/path_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ mod tests {
fn single_thread() -> Result<()> {
let q = PathQueue::new(4)?;
q.push(PathBuf::from("1"))?;
assert_eq!(q.state(), (PathQueueState::PartiallyFilled, PathQueueState::Empty, PathQueueState::Empty));
assert_eq!(q.state(), (PathQueueState::Empty, PathQueueState::Empty, PathQueueState::PartiallyFilled));
q.push(PathBuf::from("2"))?;
assert_eq!(q.state(), (PathQueueState::Full, PathQueueState::Empty, PathQueueState::Empty));
assert_eq!(q.state(), (PathQueueState::Empty, PathQueueState::Empty, PathQueueState::Full));
q.push(PathBuf::from("3"))?;
assert_eq!(q.state(), (PathQueueState::Full, PathQueueState::Empty, PathQueueState::PartiallyFilled));
q.push(PathBuf::from("4"))?;
Expand Down

0 comments on commit 2c625ed

Please sign in to comment.