commit 7afa720: [Minor] Fix tostring tests
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Oct 22 11:14:07 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-10-22 12:12:38 +0100
URL: https://github.com/rspamd/rspamd/commit/7afa72096c8ff2217d2f2ec52c533105de60e3b6
[Minor] Fix tostring tests
---
test/lua/unit/selectors.lua | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/lua/unit/selectors.lua b/test/lua/unit/selectors.lua
index b528ea9fb..e8e8c0b47 100644
--- a/test/lua/unit/selectors.lua
+++ b/test/lua/unit/selectors.lua
@@ -149,7 +149,7 @@ context("Selectors test", function()
["emails"] = {
selector = "emails",
- expect = {{"mailto://test@example.net"}}},
+ expect = {{"test at example.net"}}},
["specific_urls"] = {
selector = "specific_urls({limit = 1})",
@@ -157,11 +157,11 @@ context("Selectors test", function()
["specific_urls + emails"] = {
selector = "specific_urls({need_emails = true, limit = 2})",
- expect = {{"http://example.net", "mailto://test@example.net"}}},
+ expect = {{"test at example.net", "http://example.net"}}},
["specific_urls + emails limit"] = {
selector = "specific_urls({need_emails = true, limit = 1})",
- expect = {{"mailto://test@example.net"}}},
+ expect = {{"test at example.net"}}},
["pool_var str, default type"] = {
selector = [[pool_var("str_var")]],
More information about the Commits
mailing list