Run make fmt with Go 1.11

This commit is contained in:
Daniel Nelson
2018-10-29 16:00:54 -07:00
parent 454c3be2d2
commit f38da90329
6 changed files with 45 additions and 45 deletions

View File

@@ -106,9 +106,9 @@ func TestParseValidEmbeddedCounterJSON(t *testing.T) {
"count": float64(1),
}, metrics[0].Fields())
assert.Equal(t, map[string]string{
"metric_type": "counter",
"tag1": "green",
"tag2": "yellow",
"metric_type": "counter",
"tag1": "green",
"tag2": "yellow",
"tag3 space,comma=equals": "red ,=",
}, metrics[0].Tags())
assert.True(t, metricTime.Equal(metrics[0].Time()), fmt.Sprintf("%s should be equal to %s", metrics[0].Time(), metricTime))