From dfd336d4e92f73b156cf5e3faf7a0b87fd689267 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Thu, 23 Mar 2017 13:00:35 +0200 Subject: [Test] Test option order --- test/functional/lua/option_order.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/functional/lua/option_order.lua (limited to 'test/functional/lua') diff --git a/test/functional/lua/option_order.lua b/test/functional/lua/option_order.lua new file mode 100644 index 000000000..caff30f90 --- /dev/null +++ b/test/functional/lua/option_order.lua @@ -0,0 +1,15 @@ +rspamd_config:register_symbol({ + name = 'TBL_OPTION_ORDER', + score = 1.0, + callback = function() + return true, {'one', 'two', 'three', '4', '5', 'a'} + end +}) + +rspamd_config:register_symbol({ + name = 'OPTION_ORDER', + score = 1.0, + callback = function() + return true, 'one', 'two', 'three', '4', '5', 'a' + end +}) -- cgit v1.2.3