Remove calls to INFO() in catch, they are useless
This commit is contained in:
@@ -11,7 +11,6 @@ TEST_CASE("UTF-8 validation")
|
|||||||
CHECK_FALSE(utils::is_valid_utf8("\xFE\xFE\xFF\xFF"));
|
CHECK_FALSE(utils::is_valid_utf8("\xFE\xFE\xFF\xFF"));
|
||||||
|
|
||||||
std::string in = "Biboumi ╯°□°)╯︵ ┻━┻";
|
std::string in = "Biboumi ╯°□°)╯︵ ┻━┻";
|
||||||
INFO(in);
|
|
||||||
CHECK(utils::is_valid_utf8(in.data()));
|
CHECK(utils::is_valid_utf8(in.data()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,7 +48,6 @@ TEST_CASE("Remove invalid XML chars")
|
|||||||
{
|
{
|
||||||
std::string without_ctrl_char("𤭢€¢$");
|
std::string without_ctrl_char("𤭢€¢$");
|
||||||
std::string in = "Biboumi ╯°□°)╯︵ ┻━┻";
|
std::string in = "Biboumi ╯°□°)╯︵ ┻━┻";
|
||||||
INFO(in);
|
|
||||||
CHECK(utils::remove_invalid_xml_chars(without_ctrl_char) == without_ctrl_char);
|
CHECK(utils::remove_invalid_xml_chars(without_ctrl_char) == without_ctrl_char);
|
||||||
CHECK(utils::remove_invalid_xml_chars(in) == in);
|
CHECK(utils::remove_invalid_xml_chars(in) == in);
|
||||||
CHECK(utils::remove_invalid_xml_chars("\acouco\u0008u\uFFFEt\uFFFFe\r\n♥") == "coucoute\r\n♥");
|
CHECK(utils::remove_invalid_xml_chars("\acouco\u0008u\uFFFEt\uFFFFe\r\n♥") == "coucoute\r\n♥");
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ TEST_CASE("Test timed event expiration")
|
|||||||
CHECK(TimedEventsManager::instance().execute_expired_events() == 0);
|
CHECK(TimedEventsManager::instance().execute_expired_events() == 0);
|
||||||
|
|
||||||
std::chrono::milliseconds timoute = TimedEventsManager::instance().get_timeout();
|
std::chrono::milliseconds timoute = TimedEventsManager::instance().get_timeout();
|
||||||
INFO("Sleeping for " << timoute.count() << "ms");
|
|
||||||
std::this_thread::sleep_for(timoute + 1ms);
|
std::this_thread::sleep_for(timoute + 1ms);
|
||||||
|
|
||||||
// Event is now expired
|
// Event is now expired
|
||||||
|
|||||||
Reference in New Issue
Block a user