Fix two macro names in the unit tests

This commit is contained in:
Gennaro Prota
2025-10-22 19:18:39 +02:00
parent 3c37deed99
commit 7b564d8d26

View File

@@ -919,14 +919,14 @@ testElements()
BOOST_TEST(std::memcmp(
s.c_str(), "123\0", 4) == 0);
}
#ifdef BOOST_STATIC_ASSERT_HAS_STRING_VIEW
#ifdef BOOST_STATIC_STRING_HAS_STRING_VIEW
{
static_string<3> s("123");
string_view sv = s;
BOOST_TEST(static_string<5>(sv) == "123");
}
#endif
#ifdef BOOST_STATIC_ASSERT_HAS_STD_STRING_VIEW
#ifdef BOOST_STATIC_STRING_HAS_STD_STRING_VIEW
{
static_string<3> s("123");
std::string_view sv = s;