From 0fab37c0898b8cfff3cbcce444375abe184883db Mon Sep 17 00:00:00 2001 From: Ashish Amarnath Date: Tue, 24 Sep 2024 10:52:23 -0700 Subject: [PATCH] Update internal/crypto/ptls/dialer_test.go ignore lint error on nil context in unit test validating nil context --- internal/crypto/ptls/dialer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/crypto/ptls/dialer_test.go b/internal/crypto/ptls/dialer_test.go index 8bb15e917..3065ef377 100644 --- a/internal/crypto/ptls/dialer_test.go +++ b/internal/crypto/ptls/dialer_test.go @@ -158,7 +158,7 @@ func TestDialer_WithNilContext_Uses30sTimeout(t *testing.T) { dialer := ptls.NewDialer() err := dialer.IsReachableAndTLSValidationSucceeds( - nil, + nil, //nolint:staticcheck // Unit testing nil handling. setupHangingServer(t), nil, logger,