Update golangci-lint and turn it on in CI

This commit is contained in:
Dmitry Kropachev authored and Sylwia Szunejko committed 2024-06-19 08:08:54 +02:00
1 parent a9ab270196
commit ab80d70106
37 files changed
+225 -151

No files matched your search

+3 -3
View File
@@ -12,13 +12,13 @@ import (
"time"
"github.com/scylladb/gocqlx/v2/dbutil"
. "github.com/scylladb/gocqlx/v2/gocqlxtest"
"github.com/scylladb/gocqlx/v2/gocqlxtest"
"github.com/scylladb/gocqlx/v2/qb"
"github.com/scylladb/gocqlx/v2/table"
)
func TestRewriteTableTTL(t *testing.T) {
session := CreateSession(t)
session := gocqlxtest.CreateSession(t)
defer session.Close()
if err := session.ExecStmt(`CREATE TABLE gocqlx_test.rewrite_table (testtext text PRIMARY KEY)`); err != nil {
@@ -61,7 +61,7 @@ func TestRewriteTableTTL(t *testing.T) {
}
func TestRewriteTableClone(t *testing.T) {
session := CreateSession(t)
session := gocqlxtest.CreateSession(t)
defer session.Close()
if err := session.ExecStmt(`CREATE TABLE gocqlx_test.rewrite_table_clone_src (testtext text PRIMARY KEY, testint int)`); err != nil {