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