Fix go vet warnings
This commit is contained in:
parent
a9390d3b5c
commit
b796c2e209
@ -70,7 +70,7 @@ func TestRoom_Tags_Empty(t *testing.T) {
|
|||||||
|
|
||||||
func TestRoom_Tags_NotEmpty(t *testing.T) {
|
func TestRoom_Tags_NotEmpty(t *testing.T) {
|
||||||
room := rooms.NewRoom("!test:maunium.net", "@tulir:maunium.net")
|
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()
|
tags := room.Tags()
|
||||||
assert.Equal(t, room.RawTags, tags)
|
assert.Equal(t, room.RawTags, tags)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user