mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
256 B
C++
13 lines
256 B
C++
4 years ago
|
#include <gtest/gtest.h>
|
||
|
#include <util/logging/loglevel.hpp>
|
||
|
|
||
|
struct LogLevelTest : public ::testing::Test
|
||
|
{
|
||
|
};
|
||
|
|
||
|
TEST_F(LogLevelTest, TestLogLevelNameBadName)
|
||
|
{
|
||
|
const auto maybe = llarp::LogLevelFromString("bogus");
|
||
|
ASSERT_FALSE(maybe.has_value());
|
||
|
}
|