From 7622901b38020f3351e55d5d4e42986a00e34e9d Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Tue, 29 Nov 2022 15:09:54 +0100 Subject: [PATCH] Fix typos --- syncapi/types/types_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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},