]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - test.c
Fix testsuite
[xonotic/gmqcc.git] / test.c
diff --git a/test.c b/test.c
index 64c9928e7fc2c82eb8a01dc9d2bdabb0fd1bb7c1..d4fd147a04575addbf9603e420e500aed07eb3cf 100644 (file)
--- a/test.c
+++ b/test.c
@@ -1085,6 +1085,10 @@ static bool task_trymatch(size_t i, char ***line) {
             data = NULL;
             size = 0;
         }
+
+        if (compare != vec_size(tmpl->comparematch))
+            success = false;
+
         mem_d(data);
         data = NULL;
     }