diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-12-25 12:07:06 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-12-27 09:09:18 +0100 |
| commit | 6f03c356200becfa347b8abade66ac74f52c10c9 (patch) | |
| tree | b06738f1401e8c9694529f9252a7c355ef0589d4 /pkg/email/parser_test.go | |
| parent | 73aba437a774237b1130837b856f3b40b3ec3bf0 (diff) | |
dashboard/app: extract fixing tags from commits
Support the new scheme of associating fixing commits with bugs.
Now we provide a tag along the lines of:
Reported-by: <syzbot+a4a91f6fc35e102@syzkaller.appspotmail.com>
The tag is supposed to be added to the commit.
Then we parse commit logs and extract these tags.
The final part on the dashboard is not ready yet,
but syz-ci should already parse and send the tags.
Diffstat (limited to 'pkg/email/parser_test.go')
| -rw-r--r-- | pkg/email/parser_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/email/parser_test.go b/pkg/email/parser_test.go index 727dafc02..2341fc385 100644 --- a/pkg/email/parser_test.go +++ b/pkg/email/parser_test.go @@ -97,7 +97,7 @@ func TestCanonicalEmail(t *testing.T) { func TestParse(t *testing.T) { for i, test := range parseTests { body := func(t *testing.T, test ParseTest) { - email, err := Parse(strings.NewReader(test.email), "bot <foo@bar.com>") + email, err := Parse(strings.NewReader(test.email), []string{"bot <foo@bar.com>"}) if err != nil { t.Fatal(err) } |
