diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-26 15:16:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-26 15:16:36 +0100 |
| commit | 5ba33f846129f3e6c0505b19f94634b24505e828 (patch) | |
| tree | aaacabe678006040c342935481a86607c66607fd /tests/config/MonitorParser.cpp | |
| parent | 329b2b356dd92ac07f4e2aa69cbce82ee9ba9d19 (diff) | |
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.
Diffstat (limited to 'tests/config/MonitorParser.cpp')
| -rw-r--r-- | tests/config/MonitorParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<wl_output_transform>(i)); + EXPECT_EQ(parser.rule().m_transform, sc<wl_output_transform>(i)); } } |
