mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-14 00:30:06 +00:00
remove debug message from test code
This commit is contained in:
parent
c3e1f68ef6
commit
c0ce5a2d7d
@ -12,14 +12,6 @@ do { \
|
|||||||
const auto result = lxr::invoke(loc); \
|
const auto result = lxr::invoke(loc); \
|
||||||
BOOST_CHECK(result.is_ok()); \
|
BOOST_CHECK(result.is_ok()); \
|
||||||
if(result.is_ok()){ \
|
if(result.is_ok()){ \
|
||||||
const auto matched = result.unwrap().str(); \
|
|
||||||
std::cerr << "matched -> "; \
|
|
||||||
std::for_each(matched.begin(), matched.end(), [](const char c) { \
|
|
||||||
std::cerr << std::setw(2) << std::hex << std::setfill('0'); \
|
|
||||||
std::cerr << "0x" << static_cast<int>(c) << ", "; \
|
|
||||||
return; \
|
|
||||||
}); \
|
|
||||||
std::cerr << std::endl; \
|
|
||||||
const auto region = result.unwrap(); \
|
const auto region = result.unwrap(); \
|
||||||
BOOST_CHECK_EQUAL(region.str(), expected); \
|
BOOST_CHECK_EQUAL(region.str(), expected); \
|
||||||
BOOST_CHECK_EQUAL(region.str().size(), expected.size()); \
|
BOOST_CHECK_EQUAL(region.str().size(), expected.size()); \
|
||||||
|
Loading…
Reference in New Issue
Block a user