aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua/unit/rspamd_text.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/lua/unit/rspamd_text.lua')
-rw-r--r--test/lua/unit/rspamd_text.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lua/unit/rspamd_text.lua b/test/lua/unit/rspamd_text.lua
index 4e3a5e8e7..3e6d0fff7 100644
--- a/test/lua/unit/rspamd_text.lua
+++ b/test/lua/unit/rspamd_text.lua
@@ -37,6 +37,8 @@ context("Rspamd_text:find() test", function()
{{'foobarfoo', 'bar'}, {4, 6}},
{{'foobarfoo', 'baz'}, nil},
{{'foobarfoo', 'rfoo'}, {6, 9}},
+ {{'foo', 'bar'}, nil},
+ {{'x', 'xxxx'}, nil},
}
for _, case in ipairs(cases) do