diff --git a/.github/workflows/golang-lint.yml b/.github/workflows/golang-lint.yml index 2a176a077..9b4e558a7 100644 --- a/.github/workflows/golang-lint.yml +++ b/.github/workflows/golang-lint.yml @@ -29,6 +29,6 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6 with: - version: v1.61 + version: v1.62 working-directory: ./flow args: --timeout=10m diff --git a/flow/connectors/postgres/qrep_query_executor_test.go b/flow/connectors/postgres/qrep_query_executor_test.go index eaa015c1c..78f82b07e 100644 --- a/flow/connectors/postgres/qrep_query_executor_test.go +++ b/flow/connectors/postgres/qrep_query_executor_test.go @@ -186,8 +186,7 @@ func TestAllDataTypes(t *testing.T) { expectedBytea := []byte("bytea") require.Equal(t, expectedBytea, record[6].Value(), "expected 'bytea'") - expectedJSON := `{"key":"value"}` - require.Equal(t, expectedJSON, record[7].Value(), "expected '{\"key\":\"value\"}'") + require.JSONEq(t, `{"key":"value"}`, record[7].Value().(string), "expected '{\"key\":\"value\"}'") actualUUID := record[8].Value().(uuid.UUID) require.Equal(t, savedUUID[:], actualUUID[:], "expected savedUUID: %v", savedUUID)