ivy.nvim/lua/ivy/libivy_test.lua
2022-08-28 17:05:14 +01:00

10 lines
265 B
Lua

local libivy = require "ivy.libivy"
local ffi = require "ffi"
it("should run a simple match", function(t)
local score = libivy.ivy_match("term", "I am a serch term")
if score <= 0 then
t.error("Score should not be less than 0 found " .. score)
end
end)