1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Remove test case which does not work with luajit-2.1 anymore as it
depends on internal behavior of lujait-2.0.
Upstream-PR: https://github.com/rspamd/rspamd/pull/4323
diff --git a/test/lua/unit/lua_util.extract_specific_urls.lua b/test/lua/unit/lua_util.extract_specific_urls.lua
index 05ffeb7b0..a7e2f9f48 100644
--- a/test/lua/unit/lua_util.extract_specific_urls.lua
+++ b/test/lua/unit/lua_util.extract_specific_urls.lua
@@ -108,7 +108,6 @@ context("Lua util - extract_specific_urls plain", function()
local cases = {
{expect = url_list, filter = nil, limit = 9999, need_emails = true, prefix = 'p'},
{expect = {}, filter = (function() return false end), limit = 9999, need_emails = true, prefix = 'p'},
- {expect = {"domain4.co.net", "test.com"}, filter = nil, limit = 2, need_emails = true, prefix = 'p'},
{expect = {"domain4.co.net", "test.com", "domain3.org"}, filter = nil, limit = 3, need_emails = true, prefix = 'p'},
{
expect = {"gov.co.net", "tesco.co.net", "domain1.co.net", "domain2.co.net", "domain3.co.net", "domain4.co.net"},
--
2.37.4
|