Merge pull request #7362 from influxdata/cjl-vet-fix

fix failing vet issue in test
pull/7363/head
Cory LaNou 2016-09-26 12:29:32 -05:00 committed by GitHub
commit 662b4b495c
1 changed files with 1 additions and 1 deletions

View File

@ -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()}