Skip to content

Commit

Permalink
Remove unused test variable (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnm3k committed Aug 13, 2023
1 parent 1d45392 commit 70f7cbc
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 70f7cbc

Please sign in to comment.