diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-05-02 23:55:02 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-05-02 23:55:02 +0300 |
commit | b796c2e2092f3ed41e607382a798d27e3e11b914 (patch) | |
tree | 401e3ff7a77706c5d18b96008b1c12f7b207fe46 /matrix/rooms | |
parent | a9390d3b5c308ccab7f15748a6187865988dafe2 (diff) |
Fix go vet warnings
Diffstat (limited to 'matrix/rooms')
-rw-r--r-- | matrix/rooms/room_test.go | 2 |
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) } |