From: Vsevolod Stakhov Date: Tue, 25 Oct 2022 06:19:53 +0000 (+0100) Subject: [Test] Fix broken tests X-Git-Tag: 3.4~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a8bf029f81d1f676ec439ca936a227face6855a;p=thirdparty%2Frspamd.git [Test] Fix broken tests --- diff --git a/test/lua/unit/url.lua b/test/lua/unit/url.lua index 46eeef277a..b4168b4ebe 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)