From 70f7cbc53af96e27e1042a5f5803c9b960e0ca81 Mon Sep 17 00:00:00 2001 From: bnm3k <55702585+bnm3k@users.noreply.github.com> Date: Sun, 13 Aug 2023 19:52:20 +0300 Subject: [PATCH] Remove unused test variable (#48) --- gobreaker_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/gobreaker_test.go b/gobreaker_test.go index 1f5b3d4..c20169d 100644 --- a/gobreaker_test.go +++ b/gobreaker_test.go @@ -11,7 +11,6 @@ import ( var defaultCB *CircuitBreaker var customCB *CircuitBreaker -var negativeDurationCB *CircuitBreaker type StateChange struct { name string @@ -111,7 +110,6 @@ func newNegativeDurationCB() *CircuitBreaker { func init() { defaultCB = NewCircuitBreaker(Settings{}) customCB = newCustom() - negativeDurationCB = newNegativeDurationCB() } func TestStateConstants(t *testing.T) {