From 5ba33f846129f3e6c0505b19f94634b24505e828 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sun, 26 Apr 2026 15:16:36 +0100 Subject: config/lua: init lua config manager, use lua if available (#13817) Adds a new lua config manager, which will automatically be used if there is a lua config present. --- tests/config/MonitorParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/config/MonitorParser.cpp') diff --git a/tests/config/MonitorParser.cpp b/tests/config/MonitorParser.cpp index 29bd8db1..1d8fe664 100644 --- a/tests/config/MonitorParser.cpp +++ b/tests/config/MonitorParser.cpp @@ -128,7 +128,7 @@ TEST(Config, monitorParserTransformValid) { for (int i = 0; i <= 7; i++) { CMonitorRuleParser parser("DP-1"); EXPECT_TRUE(parser.parseTransform(std::to_string(i))); - EXPECT_EQ(parser.rule().m_transform, static_cast(i)); + EXPECT_EQ(parser.rule().m_transform, sc(i)); } } -- cgit v1.2.3