ivy.nvim/lua/ivy/libivy_test.lua
Ade Attwood 617f6a98cc test: a test script and some tests
This adds the start of the test suite that we can add into CI to ensure
we are not pussing a broken build.
2022-08-06 10:45:04 +01:00

9 lines
223 B
Lua

local libivy = require "ivy.libivy"
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 grater than 0"
end
end)