]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add test for lower_utf8 selector transformation 4173/head
authorPavel Podkorytov <pod.pavel@gmail.com>
Sat, 21 May 2022 11:35:18 +0000 (16:35 +0500)
committerPavel Podkorytov <pod.pavel@gmail.com>
Sat, 21 May 2022 11:35:18 +0000 (16:35 +0500)
test/lua/unit/selectors.lua

index 5eff52528f7259ab1610ad8de35ee5c1e1031e75..4ac2c7bcb042329d6ffb8154cb954b509265298f 100644 (file)
@@ -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",