diff options
Diffstat (limited to 'test/common_sets.lua')
-rwxr-xr-x | test/common_sets.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/common_sets.lua b/test/common_sets.lua index 43242a8..38a3eb5 100755 --- a/test/common_sets.lua +++ b/test/common_sets.lua @@ -139,6 +139,9 @@ local function set_f_plainfind (lib, flg) { {"abcd", "BC"}, {N} }, -- case sensitive { {"abcd", "BC", N, true}, {2,3} }, -- case insensitive { {"ab\0cd", "b\0c"}, {2,4} }, -- contains nul + { {"abcd", "", 1}, {1,0} }, -- empty pattern + { {"abcd", "", 5}, {5,4} }, -- empty pattern + { {"abcd", "", 6}, {N} }, -- empty pattern } end |