summaryrefslogtreecommitdiff
path: root/hyprtester/src/tests/main/workspaces.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hyprtester/src/tests/main/workspaces.cpp')
-rw-r--r--hyprtester/src/tests/main/workspaces.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/hyprtester/src/tests/main/workspaces.cpp b/hyprtester/src/tests/main/workspaces.cpp
index ccacff28..96efacfa 100644
--- a/hyprtester/src/tests/main/workspaces.cpp
+++ b/hyprtester/src/tests/main/workspaces.cpp
@@ -18,7 +18,7 @@ using namespace Hyprutils::Memory;
#define UP CUniquePointer
#define SP CSharedPointer
-bool testWorkspaces() {
+static bool test() {
NLog::log("{}Testing workspaces", Colors::GREEN);
// test on workspace "window"
@@ -347,3 +347,5 @@ bool testWorkspaces() {
return !ret;
}
+
+REGISTER_TEST_FN(test)