]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Fix testsuite
authorDale Weiler <killfieldengine@gmail.com>
Mon, 26 Aug 2013 17:05:54 +0000 (13:05 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Mon, 26 Aug 2013 17:05:54 +0000 (13:05 -0400)
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;
     }