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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user