Skip to content

Commit 7750956

Browse files
msg: Add a more complex test case with 2 multipart messages combined
Signed-off-by: Francis Bouvier <[email protected]>
1 parent ea9af21 commit 7750956

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/msg.zig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ test "MsgBuffer" {
160160
// multipart & combined
161161
.{ .input = "9:multi", .nb = 0 },
162162
.{ .input = "part2:ok", .nb = 2 },
163+
// multipart & combined with other multipart
164+
.{ .input = "9:multi", .nb = 0 },
165+
.{ .input = "part8:co", .nb = 1 },
166+
.{ .input = "mbined", .nb = 1 },
163167
// several multipart
164168
.{ .input = "23:multi", .nb = 0 },
165169
.{ .input = "several", .nb = 0 },

0 commit comments

Comments
 (0)