aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-25 07:19:53 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-10-25 07:19:53 +0100
commit6a8bf029f81d1f676ec439ca936a227face6855a (patch)
treeee1091660ce29fb35e042bf19492f9f6d7b635ef /test/lua
parentd475148051a883f50c60d482284ef3d32f6b82c6 (diff)
downloadrspamd-6a8bf029f81d1f676ec439ca936a227face6855a.tar.gz
rspamd-6a8bf029f81d1f676ec439ca936a227face6855a.zip
[Test] Fix broken tests
Diffstat (limited to 'test/lua')
-rw-r--r--test/lua/unit/url.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lua/unit/url.lua b/test/lua/unit/url.lua
index 46eeef277..b4168b4eb 100644
--- a/test/lua/unit/url.lua
+++ b/test/lua/unit/url.lua
@@ -202,7 +202,7 @@ context("URL check functions", function()
local buf = ffi.new("uint8_t[?]", #v[1])
local sizbuf = ffi.new("size_t[1]")
ffi.copy(buf, v[1], #v[1])
- ffi.C.rspamd_http_normalize_path_inplace(buf, #v[1], sizbuf)
+ ffi.C.rspamd_normalize_path_inplace(buf, #v[1], sizbuf)
local res = ffi.string(buf, tonumber(sizbuf[0]))
assert_equal(v[2], res, 'expected ' .. v[2] .. ' but got ' .. res .. ' in path ' .. v[1])
end)