Fix typos

This commit is contained in:
Till Faelligen 2022-11-29 15:09:54 +01:00
parent 878f12671a
commit 7622901b38
No known key found for this signature in database
GPG key ID: ACCDC9606D472758

View file

@ -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},