ivy.nvim/lua/ivy/libivy_test.lua

11 lines
265 B
Lua
Raw Permalink Normal View History

local libivy = require "ivy.libivy"
2022-08-28 16:05:14 +00:00
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)