From c89317db75098e9fb0e2623e5accb5c160981526 Mon Sep 17 00:00:00 2001 From: Matt Way Date: Sat, 10 Jun 2023 20:19:23 -0400 Subject: [PATCH] TestScope: don't prune from registry when closed (#222) --- scope_registry_external_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scope_registry_external_test.go b/scope_registry_external_test.go index 5df241d..dca52d1 100644 --- a/scope_registry_external_test.go +++ b/scope_registry_external_test.go @@ -23,7 +23,6 @@ package tally_test import ( "io" "sync" - "sync/atomic" "testing" "time" @@ -31,6 +30,7 @@ import ( "github.com/stretchr/testify/require" "github.com/uber-go/tally/v4" "github.com/uber-go/tally/v4/tallymock" + "go.uber.org/atomic" ) func TestTestScopesNotPruned(t *testing.T) {