Skip to content

Commit 2522235

Browse files
committed
fix linter
1 parent 0e3ad58 commit 2522235

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

internal/table/session_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ package table
33
import (
44
"context"
55
"fmt"
6-
"github.com/stretchr/testify/require"
7-
"github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Operations"
86
"reflect"
97
"testing"
108
"time"
119

10+
"github.com/stretchr/testify/require"
1211
"google.golang.org/protobuf/proto"
1312

1413
"github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1"
1514
"github.com/ydb-platform/ydb-go-genproto/protos/Ydb"
15+
"github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Operations"
1616
"github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Scheme"
1717
"github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Table"
1818

@@ -460,7 +460,8 @@ func TestCreateTableRegression(t *testing.T) {
460460
},
461461
}
462462
if !proto.Equal(exp, act.(proto.Message)) {
463-
return nil, fmt.Errorf("act: %v\n\nexp: %s\n\n", act, exp)
463+
// nolint:revive
464+
return nil, fmt.Errorf("proto's not equal: \n\nact: %v\n\nexp: %s\n\n", act, exp)
464465
}
465466
return &Ydb_Table.CreateTableResponse{}, nil
466467
},

0 commit comments

Comments
 (0)