aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-03-24 16:56:06 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-03-27 10:28:15 +0200
commitf8f96aa9d3c83dcb70514e32286d314932f3fa72 (patch)
tree1f564f807582332bacbb7eb8d9027aa87969624a
parent18ee04d7da046ca1306e94b169213ba6a394d14a (diff)
dashboard: stylistic improvements to the subsystem report email
-rw-r--r--dashboard/app/mail_subsystem.txt2
-rw-r--r--dashboard/app/subsystem_test.go8
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