diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-21 12:52:54 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-21 12:52:54 +0100 |
commit | 1c957d5ea3d1f21877fd647544486e6696ac39bd (patch) | |
tree | a096d015f06207e7af2d968da06dab3a15f4cfb5 /test/lua | |
parent | a3374a6c7bc9f26d0ad07ef260d3528bd77105fb (diff) | |
download | rspamd-1c957d5ea3d1f21877fd647544486e6696ac39bd.tar.gz rspamd-1c957d5ea3d1f21877fd647544486e6696ac39bd.zip |
Use not common name for tokenization exceptions.
Diffstat (limited to 'test/lua')
-rw-r--r-- | test/lua/unit/tokenizer.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/lua/unit/tokenizer.lua b/test/lua/unit/tokenizer.lua index 6aefeec6f..e05f74d86 100644 --- a/test/lua/unit/tokenizer.lua +++ b/test/lua/unit/tokenizer.lua @@ -67,31 +67,31 @@ context("Text tokenization test", function() local cases = { {"word https://example.com/path word", {{5, 24}}, - {"word", "exception", "word"} + {"word", "!!EX!!", "word"} }, {"համար https://example.com/path համար", {{11, 24}}, - {"համար", "exception", "համար"} + {"համար", "!!EX!!", "համար"} }, {"word https://example.com/path https://example.com/path word", {{5, 24}, {30, 24}}, - {"word", "exception", "exception", "word"} + {"word", "!!EX!!", "!!EX!!", "word"} }, {"word https://example.com/path https://example.com/path", {{5, 24}, {30, 24}}, - {"word", "exception", "exception"} + {"word", "!!EX!!", "!!EX!!"} }, {"https://example.com/path https://example.com/path word", {{0, 24}, {25, 24}}, - {"exception", "exception", "word"} + {"!!EX!!", "!!EX!!", "word"} }, {"https://example.com/path https://example.com/path", {{0, 24}, {25, 24}}, - {"exception", "exception"} + {"!!EX!!", "!!EX!!"} }, {",,,,https://example.com/path https://example.com/path ", {{4, 24}, {29, 24}}, - {"exception", "exception"} + {"!!EX!!", "!!EX!!"} }, } |