From b796c2e2092f3ed41e607382a798d27e3e11b914 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 2 May 2018 23:55:02 +0300 Subject: Fix go vet warnings --- matrix/rooms/room_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'matrix/rooms') 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) } -- cgit v1.2.3