aboutsummaryrefslogtreecommitdiff
path: root/setup/mscs/msc2836/msc2836_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'setup/mscs/msc2836/msc2836_test.go')
-rw-r--r--setup/mscs/msc2836/msc2836_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup/mscs/msc2836/msc2836_test.go b/setup/mscs/msc2836/msc2836_test.go
index eeded427..3e9d90a1 100644
--- a/setup/mscs/msc2836/msc2836_test.go
+++ b/setup/mscs/msc2836/msc2836_test.go
@@ -164,9 +164,9 @@ func TestMSC2836(t *testing.T) {
// make everyone joined to each other's rooms
nopRsAPI := &testRoomserverAPI{
userToJoinedRooms: map[string][]string{
- alice: []string{roomID},
- bob: []string{roomID},
- charlie: []string{roomID},
+ alice: {roomID},
+ bob: {roomID},
+ charlie: {roomID},
},
events: map[string]*gomatrixserverlib.HeaderedEvent{
eventA.EventID(): eventA,