From 6a8bf029f81d1f676ec439ca936a227face6855a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 25 Oct 2022 07:19:53 +0100 Subject: [PATCH] [Test] Fix broken tests --- test/lua/unit/url.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5