aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua/unit/trie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/lua/unit/trie.lua')
-rw-r--r--test/lua/unit/trie.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lua/unit/trie.lua b/test/lua/unit/trie.lua
index cff933d61..6fa7573f9 100644
--- a/test/lua/unit/trie.lua
+++ b/test/lua/unit/trie.lua
@@ -43,7 +43,7 @@ context("Trie search functions", function()
return 0
end
- ret = trie:search_text(c[1], cb)
+ ret = trie:match(c[1], cb)
assert_equal(c[2], ret, tostring(c[2]) .. ' while matching ' .. c[1])