test: disable macro testing if the macro is diabled

This commit is contained in:
ToruNiina 2021-04-02 18:26:24 +09:00
parent 6e3967e26e
commit e658a0126c

View File

@ -547,6 +547,8 @@ BOOST_AUTO_TEST_CASE(test_recursive_conversion)
// =========================================================================== // ===========================================================================
#ifndef TOML11_WITHOUT_DEFINE_NON_INTRUSIVE
namespace extlib3 namespace extlib3
{ {
struct foo struct foo
@ -626,3 +628,4 @@ BOOST_AUTO_TEST_CASE(test_conversion_via_macro)
BOOST_TEST(v2 == v); BOOST_TEST(v2 == v);
} }
} }
#endif // TOML11_WITHOUT_DEFINE_NON_INTRUSIVE