Skip to content

Commit

Permalink
fix(tests): Fix a bug in the multithreaded PriorityQueue test
Browse files Browse the repository at this point in the history
  • Loading branch information
DNedic committed Feb 26, 2024
1 parent 49d7594 commit bc6affd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/spsc/priority_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ TEST_CASE("spsc::PriorityQueue - Multithreaded read/write",
found_value = true;
break;
} else { // intermediate value, should be lower priority
REQUIRE(written_priority <= read_value);
REQUIRE(written_priority <= read_priority);
}
}
REQUIRE(found_value);
Expand Down

0 comments on commit bc6affd

Please sign in to comment.