commit 7ac071f: [Test] Fix tests
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Nov 13 16:56:09 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-11-13 16:53:02 +0000
URL: https://github.com/rspamd/rspamd/commit/7ac071f3f5644c2da0816cf3b8223894675c5fc7 (HEAD -> master)
[Test] Fix tests
---
test/lua/unit/selectors.lua | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/lua/unit/selectors.lua b/test/lua/unit/selectors.lua
index 3367a6df8..063d44e35 100644
--- a/test/lua/unit/selectors.lua
+++ b/test/lua/unit/selectors.lua
@@ -169,17 +169,17 @@ context("Selectors test", function()
selector = "helo",
expect = {"hello mail"}},
- ["received by hostname"] = {
- selector = "received:by_hostname",
+ ["received ip"] = {
+ selector = "received:by_hostname.filter_string_nils",
expect = {{"server1.chat-met-vreemden.nl", "server2.chat-met-vreemden.nl"}}},
["received by hostname last"] = {
- selector = "received:by_hostname.last",
+ selector = "received:by_hostname.filter_string_nils.last",
expect = {"server2.chat-met-vreemden.nl"}
},
["received by hostname first"] = {
- selector = "received:by_hostname.first",
+ selector = "received:by_hostname.filter_string_nils.first",
expect = {"server1.chat-met-vreemden.nl"}
},
More information about the Commits
mailing list