aboutsummaryrefslogtreecommitdiff
path: root/matrix/rooms
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-05-02 23:55:02 +0300
committerTulir Asokan <tulir@maunium.net>2018-05-02 23:55:02 +0300
commitb796c2e2092f3ed41e607382a798d27e3e11b914 (patch)
tree401e3ff7a77706c5d18b96008b1c12f7b207fe46 /matrix/rooms
parenta9390d3b5c308ccab7f15748a6187865988dafe2 (diff)
Fix go vet warnings
Diffstat (limited to 'matrix/rooms')
-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)
}