mirror of https://github.com/Icinga/icinga2.git
Merge pull request #8815 from Icinga/feature/make-base-value-format-test-easier-to-understand
Make base_value/format test easier to understand
This commit is contained in:
commit
02db80d6f3
|
@ -46,7 +46,8 @@ BOOST_AUTO_TEST_CASE(format)
|
|||
std::istringstream ibuf("3");
|
||||
ibuf >> v;
|
||||
|
||||
BOOST_CHECK(v != 3);
|
||||
BOOST_CHECK_MESSAGE(v.IsString(), "type of v should be String (is " << v.GetTypeName() << ")");
|
||||
BOOST_CHECK_MESSAGE(v == "3", "v should be '3' (is '" << v << "')");
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE_END()
|
||||
|
|
Loading…
Reference in New Issue