Run gofmt with Go 1.10

This commit is contained in:
Daniel Nelson
2018-10-29 16:12:37 -07:00
parent f38da90329
commit 9fcd279b7e
5 changed files with 43 additions and 43 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))