Skip to content

Commit

Permalink
Attempt to fix weird wercker bug
Browse files Browse the repository at this point in the history
  • Loading branch information
etcinit committed Apr 22, 2015
1 parent 924c0c5 commit 56ccc1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions speedbump_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func Test_Attempts(t *testing.T) {

left, err := limiter.Left("127.0.0.1")
assert.Nil(t, err)
assert.Equal(t, 0, left)
assert.True(t, 0 == left)

left, err = limiter.Left("127.0.0.2")
assert.Nil(t, err)
Expand All @@ -96,5 +96,5 @@ func Test_Attempts(t *testing.T) {

left, err = limiter.Left("127.0.0.1")
assert.Nil(t, err)
assert.Equal(t, 5, left)
assert.True(t, 5 == left)
}

0 comments on commit 56ccc1d

Please sign in to comment.