diff options
Diffstat (limited to 'src/libutil/tests/logging.cc')
-rw-r--r-- | src/libutil/tests/logging.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/libutil/tests/logging.cc b/src/libutil/tests/logging.cc index 4cb54995b..2ffcbc41d 100644 --- a/src/libutil/tests/logging.cc +++ b/src/libutil/tests/logging.cc @@ -68,7 +68,7 @@ namespace nix { TEST(logEI, loggingErrorOnInfoLevel) { testing::internal::CaptureStderr(); - logger->logEI({ .level = lvlInfo, + logger->logEI({ .level = Verbosity::Info, .name = "Info name", .description = "Info description", }); @@ -78,11 +78,11 @@ namespace nix { } TEST(logEI, loggingErrorOnTalkativeLevel) { - verbosity = lvlTalkative; + verbosity = Verbosity::Talkative; testing::internal::CaptureStderr(); - logger->logEI({ .level = lvlTalkative, + logger->logEI({ .level = Verbosity::Talkative, .name = "Talkative name", .description = "Talkative description", }); @@ -92,11 +92,11 @@ namespace nix { } TEST(logEI, loggingErrorOnChattyLevel) { - verbosity = lvlChatty; + verbosity = Verbosity::Chatty; testing::internal::CaptureStderr(); - logger->logEI({ .level = lvlChatty, + logger->logEI({ .level = Verbosity::Chatty, .name = "Chatty name", .description = "Talkative description", }); @@ -106,11 +106,11 @@ namespace nix { } TEST(logEI, loggingErrorOnDebugLevel) { - verbosity = lvlDebug; + verbosity = Verbosity::Debug; testing::internal::CaptureStderr(); - logger->logEI({ .level = lvlDebug, + logger->logEI({ .level = Verbosity::Debug, .name = "Debug name", .description = "Debug description", }); @@ -120,11 +120,11 @@ namespace nix { } TEST(logEI, loggingErrorOnVomitLevel) { - verbosity = lvlVomit; + verbosity = Verbosity::Vomit; testing::internal::CaptureStderr(); - logger->logEI({ .level = lvlVomit, + logger->logEI({ .level = Verbosity::Vomit, .name = "Vomit name", .description = "Vomit description", }); |