summaryrefslogtreecommitdiff
path: root/hyprtester/src/tests/plugin/plugin.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-04-26 15:16:36 +0100
committerGitHub <noreply@github.com>2026-04-26 15:16:36 +0100
commit5ba33f846129f3e6c0505b19f94634b24505e828 (patch)
treeaaacabe678006040c342935481a86607c66607fd /hyprtester/src/tests/plugin/plugin.cpp
parent329b2b356dd92ac07f4e2aa69cbce82ee9ba9d19 (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 'hyprtester/src/tests/plugin/plugin.cpp')
-rw-r--r--hyprtester/src/tests/plugin/plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyprtester/src/tests/plugin/plugin.cpp b/hyprtester/src/tests/plugin/plugin.cpp
index ffcc351a..fbc809ae 100644
--- a/hyprtester/src/tests/plugin/plugin.cpp
+++ b/hyprtester/src/tests/plugin/plugin.cpp
@@ -11,7 +11,7 @@
#include "../shared.hpp"
bool testPlugin() {
- const auto RESPONSE = getFromSocket("/dispatch plugin:test:test");
+ const auto RESPONSE = getFromSocket("/eval hl.plugin.test.test()");
if (RESPONSE != "ok") {
NLog::log("{}Plugin tests failed, plugin returned:\n{}{}", Colors::RED, Colors::RESET, RESPONSE);
@@ -21,7 +21,7 @@ bool testPlugin() {
}
bool testVkb() {
- const auto RESPONSE = getFromSocket("/dispatch plugin:test:vkb");
+ const auto RESPONSE = getFromSocket("/eval hl.plugin.test.vkb()");
if (RESPONSE != "ok") {
NLog::log("{}Vkb tests failed, tests returned:\n{}{}", Colors::RED, Colors::RESET, RESPONSE);