diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-01-07 14:32:50 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-01-07 14:32:50 +0100 |
| commit | 7042566e4bdaaec059aea4f53eeefc4f362648cd (patch) | |
| tree | ceb86810a9148761db939f2ebccd7103319278a5 /pkg/email/reply_test.go | |
| parent | 36860d8b256045601248ecfc0323ac838779e72b (diff) | |
pkg/email: accept #syz- prefix for commands
Some users spell the command as "#syz-dup:".
Support this and few more variations.
Diffstat (limited to 'pkg/email/reply_test.go')
| -rw-r--r-- | pkg/email/reply_test.go | 28 |
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 |
