Skip to content

Commit

Permalink
test_pos_map/reset_nonempty no longer triggers an assertion
Browse files Browse the repository at this point in the history
close #403
  • Loading branch information
anarthal committed Jan 24, 2025
1 parent 1c67537 commit 0a2b5b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/test/detail/typing/pos_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ using boost::mysql::detail::pos_absent;
using boost::mysql::detail::pos_map_add_field;
using boost::mysql::detail::pos_map_reset;

BOOST_AUTO_TEST_SUITE(test_post_map)
BOOST_AUTO_TEST_SUITE(test_pos_map)

BOOST_AUTO_TEST_CASE(reset_empty)
{
Expand All @@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE(reset_nonempty)
BOOST_TEST(map[0] == pos_absent);
BOOST_TEST(map[1] == pos_absent);
BOOST_TEST(map[2] == pos_absent);
BOOST_TEST(map[3] == 45u); // didn't modify any extra storage
BOOST_TEST(storage[3] == 45u); // didn't modify any extra storage
}

BOOST_AUTO_TEST_CASE(add_field_empty)
Expand Down

0 comments on commit 0a2b5b1

Please sign in to comment.