Use gofmt from Go 1.11 (#5259)

This commit is contained in:
Daniel Nelson
2019-01-07 17:14:07 -08:00
committed by GitHub
parent 0f75f3b304
commit 84139cf890
10 changed files with 54 additions and 54 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))