returnfmt.Errorf("expected histogram value at index %v for %s to have timestamp %v, but it had timestamp %v (result has %s)",i,ev.metrics[hash],expected.T,actual.T,formatSeriesResult(s))
}
if!actual.H.Equals(expected.H) {
if!actual.H.Equals(expected.H.Compact(0)) {
returnfmt.Errorf("expected histogram value at index %v (t=%v) for %s to be %v, but got %v (result has %s)",i,actual.T,ev.metrics[hash],expected.H,actual.H,formatSeriesResult(s))