Fix stacktrace test
This commit is contained in:
parent
e1bb7c6e14
commit
51f27f1fcd
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ BOOST_AUTO_TEST_CASE(static_variant_depth_test)
|
||||||
int count = 0;
|
int count = 0;
|
||||||
for( const auto& line : lines )
|
for( const auto& line : lines )
|
||||||
if( line.find("_svdt_visitor") != std::string::npos ) count++;
|
if( line.find("_svdt_visitor") != std::string::npos ) count++;
|
||||||
BOOST_CHECK_LT( 3, count ); // test.visit(), static_variant::visit, function object, visitor
|
BOOST_CHECK_LT( 2, count ); // test.visit(), static_variant::visit, function object, visitor
|
||||||
BOOST_CHECK_GT( 8, count ); // some is implementation-dependent
|
BOOST_CHECK_GT( 8, count ); // some is implementation-dependent
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue