aboutsummaryrefslogtreecommitdiff
path: root/matrix
diff options
context:
space:
mode:
Diffstat (limited to 'matrix')
-rw-r--r--matrix/rooms/room_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix/rooms/room_test.go b/matrix/rooms/room_test.go
index 2ad8d54..cb69dcd 100644
--- a/matrix/rooms/room_test.go
+++ b/matrix/rooms/room_test.go
@@ -70,7 +70,7 @@ func TestRoom_Tags_Empty(t *testing.T) {
func TestRoom_Tags_NotEmpty(t *testing.T) {
room := rooms.NewRoom("!test:maunium.net", "@tulir:maunium.net")
- room.RawTags = []rooms.RoomTag{{"foo", 1}, {"bar", 1}}
+ room.RawTags = []rooms.RoomTag{{Tag: "foo", Order: 1}, {Tag: "bar", Order: 1}}
tags := room.Tags()
assert.Equal(t, room.RawTags, tags)
}