]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Fix mime dump test
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 9 Dec 2021 11:09:06 +0000 (11:09 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 9 Dec 2021 11:09:06 +0000 (11:09 +0000)
test/lua/unit/lua_mime.message_to_ucl.lua

index d02d2cc7ba8ec17b6f7735442ca84ddf912a6256..e4fe1781aaf5675b67edb0c6616c773a0f522048 100644 (file)
@@ -59,6 +59,12 @@ context("Task piecewise split", function()
     local expected_json = [[
 {
     "parts": [
+        {
+            "type": "multipart/alternative",
+            "multipart_boundary": "_000_6be055295eab48a5af7ad4022f33e2d0_",
+            "size": 0,
+            "headers": []
+        },
         {
             "content": "Hello world\n\n\n",
             "size": 14,