aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/email/parser_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/email/parser_test.go')
-rw-r--r--pkg/email/parser_test.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/email/parser_test.go b/pkg/email/parser_test.go
index ba027f8e7..f093a0d22 100644
--- a/pkg/email/parser_test.go
+++ b/pkg/email/parser_test.go
@@ -171,6 +171,24 @@ line 2
cmd: CmdNone,
args: "",
},
+ {
+ body: `#syz-fix: bar baz`,
+ cmd: CmdFix,
+ str: "fix:",
+ args: "bar baz",
+ },
+ {
+ body: `#syz-fix bar baz`,
+ cmd: CmdFix,
+ str: "fix",
+ args: "bar baz",
+ },
+ {
+ body: `#syz: fix: bar baz`,
+ cmd: CmdFix,
+ str: "fix:",
+ args: "bar baz",
+ },
// This is unfortunate case when a command is split by email client
// due to 80-column limitation.
{