Skip to content

Commit

Permalink
Remove unused test variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bnm3k committed Jun 12, 2023
1 parent f4dfee6 commit 3e1cc66
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gobreaker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (

var defaultCB *CircuitBreaker
var customCB *CircuitBreaker
var negativeDurationCB *CircuitBreaker

type StateChange struct {
name string
Expand Down Expand Up @@ -111,7 +110,6 @@ func newNegativeDurationCB() *CircuitBreaker {
func init() {
defaultCB = NewCircuitBreaker(Settings{})
customCB = newCustom()
negativeDurationCB = newNegativeDurationCB()
}

func TestStateConstants(t *testing.T) {
Expand Down

0 comments on commit 3e1cc66

Please sign in to comment.