diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-25 09:51:00 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-25 09:51:00 +0100 |
commit | 123cc06dc7d18a7afa37bbcd37fa0019941fee8a (patch) | |
tree | 54b15e8be86ec34559451dc3ca7dbc1031332433 /test/lua | |
parent | dc5966e5907dc159452ebe86b4ac6d656f7c806d (diff) | |
download | rspamd-123cc06dc7d18a7afa37bbcd37fa0019941fee8a.tar.gz rspamd-123cc06dc7d18a7afa37bbcd37fa0019941fee8a.zip |
[Feature] Normalize quoted addresses
Diffstat (limited to 'test/lua')
-rw-r--r-- | test/lua/unit/smtp_addr.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lua/unit/smtp_addr.lua b/test/lua/unit/smtp_addr.lua index 4dd6fef87..c221950c5 100644 --- a/test/lua/unit/smtp_addr.lua +++ b/test/lua/unit/smtp_addr.lua @@ -29,8 +29,8 @@ context("SMTP address check functions", function() {'<a@example.com>', {user = 'a', domain = 'example.com', addr = 'a@example.com'}}, {'a@example.com', {user = 'a', domain = 'example.com', addr = 'a@example.com'}}, {'a+b@example.com', {user = 'a+b', domain = 'example.com', addr = 'a+b@example.com'}}, - {'"a"@example.com', {user = 'a', domain = 'example.com', addr = '"a"@example.com'}}, - {'"a+b"@example.com', {user = 'a+b', domain = 'example.com', addr = '"a+b"@example.com'}}, + {'"a"@example.com', {user = 'a', domain = 'example.com', addr = 'a@example.com'}}, + {'"a+b"@example.com', {user = 'a+b', domain = 'example.com', addr = 'a+b@example.com'}}, } each(function(case) |