@@ -1847,7 +1847,7 @@ func TestIssue229UnexpectedNullWhileParseNilJsonDocumentValue(t *testing.T) {
18471847 _ = db .Close (ctx )
18481848 }(db )
18491849 var val issue229Struct
1850- err = db .Table ().DoTx (ctx , func (ctx context.Context , tx table.TransactionActor ) error {
1850+ err = db .Table ().DoTx (ctx , func (ctx context.Context , tx table.TransactionActor ) ( err error ) {
18511851 res , err := tx .Execute (ctx , `SELECT Nothing(JsonDocument?) AS r` , nil )
18521852 if err != nil {
18531853 return err
@@ -1987,7 +1987,7 @@ func TestIssue415ScanError(t *testing.T) {
19871987 ydb .WithAccessTokenCredentials (os .Getenv ("YDB_ACCESS_TOKEN_CREDENTIALS" )),
19881988 )
19891989 require .NoError (t , err )
1990- err = db .Table ().DoTx (ctx , func (ctx context.Context , tx table.TransactionActor ) error {
1990+ err = db .Table ().DoTx (ctx , func (ctx context.Context , tx table.TransactionActor ) ( err error ) {
19911991 res , err := tx .Execute (ctx , `SELECT 1 as abc, 2 as def;` , nil )
19921992 if err != nil {
19931993 return err
@@ -2037,7 +2037,7 @@ func TestNullType(t *testing.T) {
20372037 ydb .WithAccessTokenCredentials (os .Getenv ("YDB_ACCESS_TOKEN_CREDENTIALS" )),
20382038 )
20392039 require .NoError (t , err )
2040- err = db .Table ().DoTx (ctx , func (ctx context.Context , tx table.TransactionActor ) error {
2040+ err = db .Table ().DoTx (ctx , func (ctx context.Context , tx table.TransactionActor ) ( err error ) {
20412041 res , err := tx .Execute (ctx , `SELECT NULL AS reschedule_due;` , nil )
20422042 if err != nil {
20432043 return err
0 commit comments