9 lines
239 B
Lua
9 lines
239 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 less than 0 found " .. score)
|
|
end
|
|
end)
|