summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-10-27 01:16:04 +0200
committerlouiz’ <louiz@louiz.org>2016-10-27 01:16:04 +0200
commit6d65e9527e90dda7b76168be23690dfead73c847 (patch)
tree5bd9b211ffc30f0f06920655ae48d11bb8a21951
parent6d5d7eff6835ff0dbeca8d84bfadee127918c3e9 (diff)
downloadbiboumi-6d65e9527e90dda7b76168be23690dfead73c847.tar.gz
biboumi-6d65e9527e90dda7b76168be23690dfead73c847.tar.bz2
biboumi-6d65e9527e90dda7b76168be23690dfead73c847.tar.xz
biboumi-6d65e9527e90dda7b76168be23690dfead73c847.zip
Remove calls to INFO() in catch, they are useless
-rw-r--r--tests/encoding.cpp2
-rw-r--r--tests/timed_events.cpp1
2 files changed, 0 insertions, 3 deletions
diff --git a/tests/encoding.cpp b/tests/encoding.cpp
index 389cf23..b5192ff 100644
--- a/tests/encoding.cpp
+++ b/tests/encoding.cpp
@@ -11,7 +11,6 @@ TEST_CASE("UTF-8 validation")
CHECK_FALSE(utils::is_valid_utf8("\xFE\xFE\xFF\xFF"));
std::string in = "Biboumi ╯°□°)╯︵ ┻━┻";
- INFO(in);
CHECK(utils::is_valid_utf8(in.data()));
}
@@ -49,7 +48,6 @@ TEST_CASE("Remove invalid XML chars")
{
std::string without_ctrl_char("𤭢€¢$");
std::string in = "Biboumi ╯°□°)╯︵ ┻━┻";
- INFO(in);
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("\acouco\u0008u\uFFFEt\uFFFFe\r\n♥") == "coucoute\r\n♥");
diff --git a/tests/timed_events.cpp b/tests/timed_events.cpp
index d63abef..fece422 100644
--- a/tests/timed_events.cpp
+++ b/tests/timed_events.cpp
@@ -38,7 +38,6 @@ TEST_CASE("Test timed event expiration")
CHECK(TimedEventsManager::instance().execute_expired_events() == 0);
std::chrono::milliseconds timoute = TimedEventsManager::instance().get_timeout();
- INFO("Sleeping for " << timoute.count() << "ms");
std::this_thread::sleep_for(timoute + 1ms);
// Event is now expired