Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Quinn-With-Two-Ns committed May 11, 2024
1 parent 8a724cd commit 8762730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/grpc_dialer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ func TestHeadersProvider_Error(t *testing.T) {

func TestHeadersProvider_NotIncludedWhenNil(t *testing.T) {
interceptors := requiredInterceptors(nil, nil, nil, nil, nil)
require.Equal(t, 5, len(interceptors))
require.Equal(t, 6, len(interceptors))
}

func TestHeadersProvider_IncludedWithHeadersProvider(t *testing.T) {
interceptors := requiredInterceptors(nil,
authHeadersProvider{token: "test-auth-token"}, nil, nil, nil)
require.Equal(t, 6, len(interceptors))
require.Equal(t, 7, len(interceptors))
}

func TestMissingGetServerInfo(t *testing.T) {
Expand Down

0 comments on commit 8762730

Please sign in to comment.