mirror of https://github.com/knative/pkg.git
Fix the error messages which are misleading at least (#1670)
This commit is contained in:
parent
55cef32af0
commit
0cec568ad1
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue