diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-03-09 15:43:49 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-03-09 17:06:47 +0100 |
| commit | 26967e354e030f6a022b7a60a7c9899ec25923aa (patch) | |
| tree | e99a85ff348780953fd64ce86b8a767cc62c6170 /pkg/email/parser_test.go | |
| parent | b25a4606f025c0705910748510b9c763b56e37a5 (diff) | |
pkg/email: strip \t in test command args
There was a precedent of using:
syz fix: repo \t commit
This was rejected as error. Support \t between tokens.
Diffstat (limited to 'pkg/email/parser_test.go')
| -rw-r--r-- | pkg/email/parser_test.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/email/parser_test.go b/pkg/email/parser_test.go index f093a0d22..88b7b4ad9 100644 --- a/pkg/email/parser_test.go +++ b/pkg/email/parser_test.go @@ -221,6 +221,18 @@ locking/core args: "git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core", }, { + body: `#syz test: repo commit`, + cmd: CmdTest, + str: "test:", + args: "repo commit", + }, + { + body: `#syz test: repo commit`, + cmd: CmdTest, + str: "test:", + args: "repo commit", + }, + { body: ` #syz test_5_arg_cmd arg1 @@ -234,6 +246,12 @@ arg5 args: "arg1 arg2 arg3 arg4 arg5", }, { + body: `#syz test_5_arg_cmd arg1 arg2 arg3 arg4 arg5`, + cmd: cmdTest5, + str: "test_5_arg_cmd", + args: "arg1 arg2 arg3 arg4 arg5", + }, + { body: ` #syz test_5_arg_cmd arg1 arg2`, |
