Fix err in graphite parser_test (#5257)
This commit is contained in:
parent
9dc9bd653a
commit
9800779e64
|
@ -241,7 +241,7 @@ func TestParseLine(t *testing.T) {
|
|||
len(test.tags), len(metric.Tags()))
|
||||
}
|
||||
f := metric.Fields()["value"].(float64)
|
||||
if metric.Fields()["value"] != f {
|
||||
if f != test.value {
|
||||
t.Fatalf("floatValue value mismatch. expected %v, got %v",
|
||||
test.value, f)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue