mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Fix typos
This commit is contained in:
parent
878f12671a
commit
7622901b38
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Reference in a new issue