mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
Core matching test
This commit is contained in:
parent
2b314755c3
commit
7aa3ddd5c8
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ TEST_F(StringMatchTest, Basic) {
|
|||
|
||||
// Wildcards
|
||||
EXPECT_EQ(MatchLen("*", "hello", 0), 1);
|
||||
EXPECT_EQ(MatchLen("*", "1234567890123456", 0), 1);
|
||||
EXPECT_EQ(MatchLen("h*", "hello", 0), 1);
|
||||
EXPECT_EQ(MatchLen("h*", "abc", 0), 0);
|
||||
EXPECT_EQ(MatchLen("h*o", "hello", 0), 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue