summaryrefslogtreecommitdiff
path: root/tests/scripts/test-scripts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/test-scripts.cpp')
-rw-r--r--tests/scripts/test-scripts.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/scripts/test-scripts.cpp b/tests/scripts/test-scripts.cpp
index 33eaa3818..1dfc38f71 100644
--- a/tests/scripts/test-scripts.cpp
+++ b/tests/scripts/test-scripts.cpp
@@ -89,8 +89,11 @@ TEST_GROUP(Scripts)
api_tests_errors++;
else if (strstr (message, "TESTS END"))
api_tests_end++;
- else if ((message[0] != '>') && (message[0] != ' '))
+ else if ((message[0] != '>') && (message[0] != ' ')
+ && (strncmp (message, "## ", 3) != 0))
+ {
api_tests_other++;
+ }
}
return WEECHAT_RC_OK;