From f8f96aa9d3c83dcb70514e32286d314932f3fa72 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 24 Mar 2023 16:56:06 +0100 Subject: dashboard: stylistic improvements to the subsystem report email --- dashboard/app/mail_subsystem.txt | 2 +- dashboard/app/subsystem_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dashboard/app/mail_subsystem.txt b/dashboard/app/mail_subsystem.txt index 11c393db3..66b4e0f5b 100644 --- a/dashboard/app/mail_subsystem.txt +++ b/dashboard/app/mail_subsystem.txt @@ -1,6 +1,6 @@ Hello {{.Subsystem}} maintainers/developers, -This is a {{.PeriodDays}}-day syzbot report for {{.Subsystem}} subsystem. +This is a {{.PeriodDays}}-day syzbot report for the {{.Subsystem}} subsystem. All related reports/information can be found at: {{.Link}} diff --git a/dashboard/app/subsystem_test.go b/dashboard/app/subsystem_test.go index 5e029f075..24b07b840 100644 --- a/dashboard/app/subsystem_test.go +++ b/dashboard/app/subsystem_test.go @@ -292,7 +292,7 @@ func TestPeriodicSubsystemReminders(t *testing.T) { c.expectEQ(reply.Cc, []string(nil)) c.expectEQ(reply.Body, fmt.Sprintf(`Hello subsystemA maintainers/developers, -This is a 30-day syzbot report for subsystemA subsystem. +This is a 30-day syzbot report for the subsystemA subsystem. All related reports/information can be found at: https://testapp.appspot.com/subsystem-reminders/s/subsystemA @@ -323,7 +323,7 @@ syzbot engineers can be reached at syzkaller@googlegroups.com. c.expectEQ(reply.Cc, []string(nil)) c.expectEQ(reply.Body, fmt.Sprintf(`Hello subsystemB maintainers/developers, -This is a 30-day syzbot report for subsystemB subsystem. +This is a 30-day syzbot report for the subsystemB subsystem. All related reports/information can be found at: https://testapp.appspot.com/subsystem-reminders/s/subsystemB @@ -403,7 +403,7 @@ func TestSubsystemRemindersModeration(t *testing.T) { c.expectEQ(reply.Cc, []string(nil)) c.expectEQ(reply.Body, fmt.Sprintf(`Hello subsystemA maintainers/developers, -This is a 30-day syzbot report for subsystemA subsystem. +This is a 30-day syzbot report for the subsystemA subsystem. All related reports/information can be found at: https://testapp.appspot.com/subsystem-reminders/s/subsystemA @@ -515,7 +515,7 @@ func TestSubsystemReportGeneration(t *testing.T) { c.expectEQ(reply.Cc, []string(nil)) c.expectEQ(reply.Body, fmt.Sprintf(`Hello subsystemA maintainers/developers, -This is a 30-day syzbot report for subsystemA subsystem. +This is a 30-day syzbot report for the subsystemA subsystem. All related reports/information can be found at: https://testapp.appspot.com/subsystem-reminders/s/subsystemA -- cgit mrf-deployment