Fix the error messages which are misleading at least (#1670)

This commit is contained in:
Victor Agababov 2020-08-31 12:42:15 -07:00 committed by GitHub
parent 55cef32af0
commit 0cec568ad1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -91,10 +91,10 @@ func CheckDistributionData(t test.T, name string, wantTags map[string]string, ex
t.Error("reporter count wrong", "metric", name, "got", s.Count, "want", expectedCount)
}
if s.Min != expectedMin {
t.Error("reporter count wrong", "metric", name, "got", s.Min, "want", expectedMin)
t.Error("reporter min wrong", "metric", name, "got", s.Min, "want", expectedMin)
}
if s.Max != expectedMax {
t.Error("reporter count wrong", "metric", name, "got", s.Max, "want", expectedMax)
t.Error("reporter max wrong", "metric", name, "got", s.Max, "want", expectedMax)
}
}
}