summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/core/test-string.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/core/test-string.cpp b/tests/unit/core/test-string.cpp
index c1f19798c..518d07fe7 100644
--- a/tests/unit/core/test-string.cpp
+++ b/tests/unit/core/test-string.cpp
@@ -948,6 +948,9 @@ TEST(CoreString, Split)
argc = -1;
POINTERS_EQUAL(NULL, string_split ("", "", 0, 0, &argc));
LONGS_EQUAL(0, argc);
+ argc = -1;
+ POINTERS_EQUAL(NULL, string_split (" ", " ", 0, 0, &argc));
+ LONGS_EQUAL(0, argc);
/* free split with NULL */
string_free_split (NULL);