diff --git a/syncapi/types/types_test.go b/syncapi/types/types_test.go index 8eb60c76b..74246d964 100644 --- a/syncapi/types/types_test.go +++ b/syncapi/types/types_test.go @@ -116,14 +116,14 @@ func TestJoinResponse_MarshalJSON(t *testing.T) { want: []byte("{}"), }, { - name: "unread notifactions are removed, if everything else is empty", + name: "unread notifications are removed, if everything else is empty", fields: fields{ UnreadNotifications: &UnreadNotifications{}, }, want: []byte("{}"), }, { - name: "unread notifactions are is NOT removed, if state is set", + name: "unread notifications are NOT removed, if state is set", fields: fields{ State: &ClientEvents{Events: []gomatrixserverlib.ClientEvent{{Content: []byte("{}")}}}, UnreadNotifications: &UnreadNotifications{NotificationCount: 1},