From 3763f265b9673d627225684065ae637531c3edc5 Mon Sep 17 00:00:00 2001 From: Dimo Markov Date: Fri, 12 Jul 2024 02:41:49 +0300 Subject: [PATCH] Improved test --- test/TestLogger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/TestLogger.cpp b/test/TestLogger.cpp index 7a02435..4672360 100644 --- a/test/TestLogger.cpp +++ b/test/TestLogger.cpp @@ -44,14 +44,14 @@ SCENARIO("Logging to console", "[logger]") { WHEN("Writing all colors") { { - auto scope = Logger::Section(Logger::Reset, "Now testing foreground colors: "); + auto scope = Logger::Section("Now testing foreground colors: "); Logger::Line(Logger::Black, "Black, ", Logger::Blue, "Blue, ", Logger::Cyan, "Cyan, ", Logger::DarkBlue, "Dark blue, "); Logger::Line(Logger::DarkCyan, "Dark cyan, ", Logger::DarkGray, "Dark gray, ", Logger::DarkGreen, "Dark green, ", Logger::DarkPurple, "Dark purple, "); Logger::Line(Logger::DarkRed, "Dark red, ", Logger::DarkYellow, "Dark yellow, ", Logger::Gray, "Gray, ", Logger::Green, "Green, "); Logger::Line(Logger::Purple, "Purple, ", Logger::Red, "Red, ", Logger::White, "White, ", Logger::Yellow, "Yellow, "); } { - auto scope = Logger::Section(Logger::Reset, "Now testing background colors: "); + auto scope = Logger::Section("Now testing background colors: "); Logger::Line(Logger::BlackBgr, "Black, ", Logger::BlueBgr, "Blue, ", Logger::CyanBgr, "Cyan, ", Logger::DarkBlueBgr, "Dark blue, "); Logger::Line(Logger::DarkCyanBgr, "Dark cyan, ", Logger::DarkGrayBgr, "Dark gray, ", Logger::DarkGreenBgr, "Dark green, ", Logger::DarkPurpleBgr, "Dark purple, "); Logger::Line(Logger::DarkRedBgr, "Dark red, ", Logger::DarkYellowBgr, "Dark yellow, ", Logger::GrayBgr, "Gray, ", Logger::GreenBgr, "Green, ");