Skip to content

Commit

Permalink
fix typos in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kubahorak committed Feb 16, 2021
1 parent c2975ff commit 2066175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exponential_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func TestBackOffOverflow(t *testing.T) {
exp.Reset()

exp.NextBackOff()
// Assert that when an overflow is possible, the current varerval time.Duration is set to the max varerval time.Duration.
// Assert that when an overflow is possible, the current interval time.Duration is set to the max interval time.Duration.
assertEquals(t, testMaxInterval, exp.currentInterval)
}

Expand Down
2 changes: 1 addition & 1 deletion tries_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func TestMaxTriesZero(t *testing.T) {
}, b)

if err == nil {
t.Errorf("error expected, nil founc")
t.Errorf("error expected, nil found")
}
if called != 1 {
t.Errorf("operation is called %d times", called)
Expand Down

0 comments on commit 2066175

Please sign in to comment.