diff options
author | Pavel Podkorytov <pod.pavel@gmail.com> | 2022-05-21 16:35:18 +0500 |
---|---|---|
committer | Pavel Podkorytov <pod.pavel@gmail.com> | 2022-05-21 16:35:18 +0500 |
commit | e68d8aba0021e1da0c45ecf61c5d84d669020e0f (patch) | |
tree | cd26b8a67d9cf78d6e7d451eb8d05636363ef64c /test | |
parent | 434c20235f6a6822cc079e5fc51bd359715251b5 (diff) | |
download | rspamd-e68d8aba0021e1da0c45ecf61c5d84d669020e0f.tar.gz rspamd-e68d8aba0021e1da0c45ecf61c5d84d669020e0f.zip |
[Minor] Add test for lower_utf8 selector transformation
Diffstat (limited to 'test')
-rw-r--r-- | test/lua/unit/selectors.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/lua/unit/selectors.lua b/test/lua/unit/selectors.lua index 5eff52528..4ac2c7bcb 100644 --- a/test/lua/unit/selectors.lua +++ b/test/lua/unit/selectors.lua @@ -53,7 +53,13 @@ context("Selectors test", function() ["header Subject lower"] = { selector = "header(Subject).lower", - expect = {"second, lower-cased header subject"}}, + expect = {"second, lower-cased header subject"} + }, + + ["header Subject lower_utf8"] = { + selector = "header(Subject).lower_utf8", + expect = {"second, lower-cased header subject"} + }, ["header full Subject lower"] = { selector = "header(Subject, 'full').lower", |