Skip to content

Commit

Permalink
Test coverage fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescarni committed Nov 24, 2023
1 parent 26ed45e commit 0c62a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/step_callback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ TEST_CASE("step_callback_set")
REQUIRE(scs.size() == 0u);
REQUIRE_THROWS_MATCHES(scs[0], std::out_of_range,
Message("Out of range index 0 when accessing a step callback set of size 0"));
REQUIRE_THROWS_MATCHES(std::as_const(scs[0]), std::out_of_range,
REQUIRE_THROWS_MATCHES(std::as_const(scs)[0], std::out_of_range,
Message("Out of range index 0 when accessing a step callback set of size 0"));
auto scs2 = step_callback_set<fp_t>{[](const auto &) { return true; }};
REQUIRE(scs2.size() == 1u);
Expand Down

0 comments on commit 0c62a1f

Please sign in to comment.