aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)