From 2bc0221f95954691a3d637c360a0fac994ae1ed2 Mon Sep 17 00:00:00 2001 From: korovindenis Date: Sun, 14 Apr 2024 13:41:05 +0300 Subject: [PATCH] del shadow var --- internal/table/scanner/result_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/table/scanner/result_test.go b/internal/table/scanner/result_test.go index 91628a522..e723e97fc 100644 --- a/internal/table/scanner/result_test.go +++ b/internal/table/scanner/result_test.go @@ -287,11 +287,11 @@ func TestNewStreamWithRecvFirstResultSet(t *testing.T) { require.True(t, err == io.EOF) //nolint:errorlint,testifylint require.Equal(t, 1001, tt.recvCounter) - val, ok = result.(*streamResult) + valC, ok := result.(*streamResult) if !ok { - panic(fmt.Sprintf("unsupported type conversion from %T to *streamResult", val)) + panic(fmt.Sprintf("unsupported type conversion from %T to *streamResult", valC)) } - require.Equal(t, 1002, int(val.nextResultSetCounter.Load())) + require.Equal(t, 1002, int(valC.nextResultSetCounter.Load())) } }) }