Skip to content

Commit

Permalink
Merge pull request #37 from treaster/master
Browse files Browse the repository at this point in the history
Fix test failures introduced by a65ea2a
  • Loading branch information
quipo authored Jul 31, 2017
2 parents 39c3fe5 + 0cb4ed8 commit 6f34e0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion event/precisiontiming_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion event/timing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6f34e0a

Please sign in to comment.