diff options
Diffstat (limited to 'test/functional/lua/rspamadm/test_message_callback.lua')
-rw-r--r-- | test/functional/lua/rspamadm/test_message_callback.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/lua/rspamadm/test_message_callback.lua b/test/functional/lua/rspamadm/test_message_callback.lua new file mode 100644 index 0000000..6be512a --- /dev/null +++ b/test/functional/lua/rspamadm/test_message_callback.lua @@ -0,0 +1,5 @@ +function message_callback(task) + local parts = task:get_text_parts() + print("n parts = " .. tostring(#parts)) + return 1,2,4,6 +end |