Skip to content

Commit

Permalink
Fix test failures introduced by a65ea2a - 'Fix count statsd string; s…
Browse files Browse the repository at this point in the history
…hould be "c", not "a" (absolute)'
  • Loading branch information
Mike Treaster committed May 10, 2016
1 parent 494c206 commit 0cb4ed8
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 0cb4ed8

Please sign in to comment.