Should Contain ${result.stdout} REGEXP_KV (1.00)[no worry]
Should Contain ${result.stdout} MAP_KV (1.00)[no worry]
+Option Order
+ [Setup] Lua Replace Setup ${TESTDIR}/lua/option_order.lua
+ [Teardown] Lua Replace Teardown
+ ${result} = Scan Message With Rspamc ${MESSAGE}
+ Check Rspamc ${result} OPTION_ORDER (1.00)[one, two, three, 4, 5, a]
+ Should Contain ${result.stdout} TBL_OPTION_ORDER (1.00)[one, two, three, 4, 5, a]
+
*** Keywords ***
Lua Setup
[Arguments] ${LUA_SCRIPT}
--- /dev/null
+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
+})