tester: simplify adding test files

This commit is contained in:
Vaxry
2025-06-27 12:18:45 +02:00
parent 1fc7e80bdb
commit e4b6fedfb9
6 changed files with 25 additions and 22 deletions

View File

@@ -18,7 +18,7 @@ using namespace Hyprutils::Memory;
#define UP CUniquePointer
#define SP CSharedPointer
bool testMisc() {
static bool test() {
NLog::log("{}Testing config: misc:", Colors::GREEN);
NLog::log("{}Testing close_special_on_empty", Colors::YELLOW);
@@ -140,3 +140,5 @@ bool testMisc() {
return !ret;
}
REGISTER_TEST_FN(test);