Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
seankhliao committed Oct 19, 2022
1 parent 0407417 commit 8b088d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporters/otlp/internal/envconfig/envconfig_test.go
Expand Up @@ -394,7 +394,7 @@ func TestWithClientCert(t *testing.T) {
option = testOption{TestTLS: &tls.Config{Certificates: []tls.Certificate{c}}}
}),
)
assert.Equal(t, nil, option.TestTLS.Certificates)
assert.Nil(t, option.TestTLS)

reader.GetEnv = func(s string) string { return "" }
option.TestTLS = nil
Expand All @@ -403,7 +403,7 @@ func TestWithClientCert(t *testing.T) {
option = testOption{TestTLS: &tls.Config{Certificates: []tls.Certificate{c}}}
}),
)
assert.Equal(t, nil, option.TestTLS.Certificates)
assert.Nil(t, option.TestTLS)
}

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

0 comments on commit 8b088d4

Please sign in to comment.