diff --git a/pkg/log/formatter_test.go b/pkg/log/formatter_test.go index 4ba6d920242..1db5697ce98 100644 --- a/pkg/log/formatter_test.go +++ b/pkg/log/formatter_test.go @@ -383,7 +383,7 @@ func TestPretty(t *testing.T) { exp: `{"Inner":"I am a log.Marshaler"}`, }, { val: (*marshalerTest)(nil), - exp: `""`, + exp: `""`, }, { val: marshalerPanicTest{"foobar"}, exp: `""`, @@ -395,7 +395,7 @@ func TestPretty(t *testing.T) { exp: `"I am a fmt.Stringer"`, }, { val: (*stringerTest)(nil), - exp: `""`, + exp: `""`, }, { val: stringerPanicTest{"foobar"}, exp: `""`, @@ -407,7 +407,7 @@ func TestPretty(t *testing.T) { exp: `"I am an error"`, }, { val: (*errorTest)(nil), - exp: `""`, + exp: `""`, }, { val: errorPanicTest{"foobar"}, exp: `""`, diff --git a/pkg/log/logger_test.go b/pkg/log/logger_test.go index 6a92f92ef00..f7c23308808 100644 --- a/pkg/log/logger_test.go +++ b/pkg/log/logger_test.go @@ -381,7 +381,7 @@ func TestLoggerWithCaller(t *testing.T) { } }) t.Run("caller=CategoryAll, logCallerFunc=true", func(t *testing.T) { - const thisFunc = "github.com/ethersphere/bee/pkg/log.TestLoggerWithCaller.func3" + const thisFunc = "github.com/ethersphere/bee/v2/pkg/log.TestLoggerWithCaller.func3" logger, bb := newLogger(WithCaller(CategoryAll), WithCallerFunc()) diff --git a/pkg/p2p/protobuf/main_test.go b/pkg/p2p/protobuf/main_test.go index 82148f77600..68f9fc720bb 100644 --- a/pkg/p2p/protobuf/main_test.go +++ b/pkg/p2p/protobuf/main_test.go @@ -16,6 +16,6 @@ func TestMain(m *testing.M) { goleak.IgnoreTopFunction("time.Sleep"), goleak.IgnoreTopFunction("io.(*pipe).read"), goleak.IgnoreTopFunction("io.(*pipe).write"), - goleak.IgnoreTopFunction("github.com/ethersphere/bee/pkg/p2p/protobuf_test.newMessageWriter.func1"), + goleak.IgnoreTopFunction("github.com/ethersphere/bee/v2/pkg/p2p/protobuf_test.newMessageWriter.func1"), ) } diff --git a/pkg/retrieval/main_test.go b/pkg/retrieval/main_test.go index eec426389d0..8be3983b65d 100644 --- a/pkg/retrieval/main_test.go +++ b/pkg/retrieval/main_test.go @@ -14,7 +14,7 @@ func TestMain(m *testing.M) { goleak.VerifyTestMain( m, // pkg/p2p package has some leak issues, we ignore them here as they are not in current scope - goleak.IgnoreTopFunction("github.com/ethersphere/bee/pkg/p2p/protobuf.Reader.ReadMsgWithContext"), - goleak.IgnoreTopFunction("github.com/ethersphere/bee/pkg/p2p/streamtest.(*record).Read"), + goleak.IgnoreTopFunction("github.com/ethersphere/bee/v2/pkg/p2p/protobuf.Reader.ReadMsgWithContext"), + goleak.IgnoreTopFunction("github.com/ethersphere/bee/v2/pkg/p2p/streamtest.(*record).Read"), ) }