Skip to content

Commit 7b564d8

Browse files
committed
Fix two macro names in the unit tests
1 parent 3c37dee commit 7b564d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/static_string.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,14 +919,14 @@ testElements()
919919
BOOST_TEST(std::memcmp(
920920
s.c_str(), "123\0", 4) == 0);
921921
}
922-
#ifdef BOOST_STATIC_ASSERT_HAS_STRING_VIEW
922+
#ifdef BOOST_STATIC_STRING_HAS_STRING_VIEW
923923
{
924924
static_string<3> s("123");
925925
string_view sv = s;
926926
BOOST_TEST(static_string<5>(sv) == "123");
927927
}
928928
#endif
929-
#ifdef BOOST_STATIC_ASSERT_HAS_STD_STRING_VIEW
929+
#ifdef BOOST_STATIC_STRING_HAS_STD_STRING_VIEW
930930
{
931931
static_string<3> s("123");
932932
std::string_view sv = s;

0 commit comments

Comments
 (0)