neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit d84e786112fdc2afb6550e065a61e496fbbaf64a
parent ce8842998b60c133d83ca0d5dabe55df393f4919
Author: bfredl <bjorn.linse@gmail.com>
Date:   Wed, 12 Nov 2025 13:57:56 +0100

fix(tests): use correct signature for unpacker_teardown()

Diffstat:
Mtest/unit/msgpack_spec.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit/msgpack_spec.lua b/test/unit/msgpack_spec.lua @@ -14,7 +14,7 @@ local to_cstr = t.to_cstr --- @return Unpacker* unpacker `unpacker[0]` to dereference local function make_unpacker() return ffi.gc(ffi.cast('Unpacker*', lib.xcalloc(1, ffi.sizeof('Unpacker'))), function(unpacker) - lib.unpacker_teardown(unpacker, nil, nil) + lib.unpacker_teardown(unpacker) lib.xfree(unpacker) end) end