diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-07 15:30:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-07 15:30:28 +0100 |
commit | 125f1805175b7760930f404578642066d0981eb5 (patch) | |
tree | ff4ba44637ab0d198fd66e0075b0884f8b780b81 /test | |
parent | 224c69e485d7cd589bfdb07a3a31cecd68697986 (diff) | |
download | rspamd-125f1805175b7760930f404578642066d0981eb5.tar.gz rspamd-125f1805175b7760930f404578642066d0981eb5.zip |
Rework lua trie API, allow raw message search.
Diffstat (limited to 'test')
-rw-r--r-- | test/lua/unit/trie.lua | 2 |
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]) |