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