Use strings.Join in statsd input (#2947)

This commit is contained in:
Daniel Nelson
2017-06-21 16:24:23 -07:00
committed by GitHub
parent 41b6445eb2
commit 2c61e5d3a5
2 changed files with 4 additions and 3 deletions

View File

@@ -929,7 +929,7 @@ func TestParse_MeasurementsWithMultipleValues(t *testing.T) {
// plus the last bit of value 1
// which adds up to 12 individual datapoints to be cached
if cachedtiming.fields[defaultFieldName].n != 12 {
t.Errorf("Expected 11 additions, got %d", cachedtiming.fields[defaultFieldName].n)
t.Errorf("Expected 12 additions, got %d", cachedtiming.fields[defaultFieldName].n)
}
if cachedtiming.fields[defaultFieldName].upper != 1 {