aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/email/reply_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/email/reply_test.go')
-rw-r--r--pkg/email/reply_test.go28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkg/email/reply_test.go b/pkg/email/reply_test.go
index 75d2eca09..4e6256ccf 100644
--- a/pkg/email/reply_test.go
+++ b/pkg/email/reply_test.go
@@ -43,6 +43,34 @@ this is reply
`,
},
{
+ email: `
+#syz-fix
+line2
+`,
+ reply: "this is reply",
+ result: `>
+> #syz-fix
+
+this is reply
+
+> line2
+`,
+ },
+ {
+ email: `
+#syz: fix
+line2
+`,
+ reply: "this is reply",
+ result: `>
+> #syz: fix
+
+this is reply
+
+> line2
+`,
+ },
+ {
email: `> line1
> line2
#syz foo