mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
Fix go vet warnings
This commit is contained in:
parent
a9390d3b5c
commit
b796c2e209
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue