From 125f1805175b7760930f404578642066d0981eb5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 7 Apr 2015 15:30:28 +0100 Subject: Rework lua trie API, allow raw message search. --- test/lua/unit/trie.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lua') 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]) -- cgit v1.2.3