1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

tests: add test with multiple wildcards in call to function string_match

This commit is contained in:
Sébastien Helleu
2019-04-01 00:18:21 +02:00
parent 5d02ff9a6d
commit 6fa4494aae
+1
View File
@@ -468,6 +468,7 @@ TEST(CoreString, Match)
LONGS_EQUAL(0, string_match ("test", "*es", 0));
LONGS_EQUAL(0, string_match ("test", "*es", 1));
LONGS_EQUAL(1, string_match ("test", "*es*", 0));
LONGS_EQUAL(1, string_match ("test", "**es**", 0));
LONGS_EQUAL(1, string_match ("test", "*es*", 1));
LONGS_EQUAL(1, string_match ("test", "*ES*", 0));
LONGS_EQUAL(0, string_match ("test", "*ES*", 1));