tests add to namespace sls (#464)

This commit is contained in:
Dhanya Thattil authored and GitHub committed 2022-05-20 15:41:37 +02:00
1 parent c7ba79644a
commit f5745fcf18
44 files changed
+350 -228

No files matched your search

+4 -2
View File
@@ -6,7 +6,7 @@
#include <fstream>
#include <iostream>
using sls::Logger;
namespace sls {
TEST_CASE("LogLevel to string") {
CHECK(Logger::ToString(logERROR) == "ERROR");
@@ -48,4 +48,6 @@ TEST_CASE("Test output") {
auto r = local.str();
auto pos = r.find("This should be printed");
CHECK(pos != std::string::npos);
}
}
} // namespace sls