diff --git a/event/precisiontiming_test.go b/event/precisiontiming_test.go index 28eb3ee..8cfc8cf 100644 --- a/event/precisiontiming_test.go +++ b/event/precisiontiming_test.go @@ -13,7 +13,7 @@ func TestPrecisionTimingUpdate(t *testing.T) { e1.Update(e2) e1.Update(e3) - expected := []string{"test.count:3|a", "test.avg:0.005000|ms", "test.min:0.003000|ms", "test.max:0.007000|ms"} + expected := []string{"test.count:3|c", "test.avg:0.005000|ms", "test.min:0.003000|ms", "test.max:0.007000|ms"} actual := e1.Stats() if !reflect.DeepEqual(expected, actual) { t.Errorf("did not receive all metrics: Expected: %T %v, Actual: %T %v ", expected, expected, actual, actual) diff --git a/event/timing_test.go b/event/timing_test.go index 68d3d37..4ea77d7 100644 --- a/event/timing_test.go +++ b/event/timing_test.go @@ -12,7 +12,7 @@ func TestTimingUpdate(t *testing.T) { e1.Update(e2) e1.Update(e3) - expected := []string{"test.count:3|a", "test.avg:5|ms", "test.min:3|ms", "test.max:7|ms"} + expected := []string{"test.count:3|c", "test.avg:5|ms", "test.min:3|ms", "test.max:7|ms"} actual := e1.Stats() if !reflect.DeepEqual(expected, actual) { t.Errorf("did not receive all metrics: Expected: %T %v, Actual: %T %v ", expected, expected, actual, actual)