Linter fixes PR 3 (#4415)

* Linter fixes

* fix(bsr): update test to register TEST protocol once

---------

Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com>
This commit is contained in:
Jeff MitchellandDamian Debkowski authored and GitHub committed 2024-02-16 08:30:16 -05:00
1 parent e95eda7ca2
commit 35cef97bd4
119 files changed
+365 -300

No files matched your search

@@ -242,7 +242,7 @@ func Test_GetObjectStream_Server(t *testing.T) {
require.Contains(err.Error(), "stream is closed")
})
t.Run("recieve empty message", func(t *testing.T) {
t.Run("receive empty message", func(t *testing.T) {
stream := newGetObjectStream()
defer stream.Close()
require.NotNil(stream)
@@ -399,7 +399,7 @@ func Test_GetObjectStream(t *testing.T) {
t.Run("client receives error when server sends error", func(t *testing.T) {
stream := newGetObjectStream()
// Validate the client recieves an error when the server sends an error
// Validate the client receives an error when the server sends an error
// Validate the channel messages is closed
go func() {
err := stream.server.SendMsg(fmt.Errorf("mock error"))