From 4a2d23da4a8e6ee00d0af68e4b66d27094959d12 Mon Sep 17 00:00:00 2001 From: Cory LaNou Date: Mon, 26 Sep 2016 11:29:02 -0500 Subject: [PATCH] fix failing vet issue in test --- models/points_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/points_test.go b/models/points_test.go index 79c734d0a2..0a820bcc86 100644 --- a/models/points_test.go +++ b/models/points_test.go @@ -68,7 +68,7 @@ func TestPoint_AppendString(t *testing.T) { func testPoint_cube(t *testing.T, f func(p models.Point)) { // heard of a table-driven test? let's make a cube-driven test... - tagList := []models.Tags{nil, {{[]byte("foo"), []byte("bar")}}, tags} + tagList := []models.Tags{nil, {models.Tag{Key: []byte("foo"), Value: []byte("bar")}}, tags} fieldList := []models.Fields{{"a": 42.0}, {"a": 42, "b": "things"}, fields} timeList := []time.Time{time.Time{}, time.Unix(0, 0), time.Unix(-34526, 0), time.Unix(231845, 0), time.Now()}