File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ func TestStatment(t *testing.T) {
318318
319319 if ! r1 .Next () {
320320 if r .Err () != nil {
321- t .Fatal (r1 .Err ())
321+ t .Fatal (r .Err ())
322322 }
323323 t .Fatal ("expected row" )
324324 }
@@ -1290,7 +1290,7 @@ func TestNullAfterNonNull(t *testing.T) {
12901290
12911291 if ! r .Next () {
12921292 if r .Err () != nil {
1293- t .Fatal (err )
1293+ t .Fatal (r . Err () )
12941294 }
12951295 t .Fatal ("expected row" )
12961296 }
@@ -1305,7 +1305,7 @@ func TestNullAfterNonNull(t *testing.T) {
13051305
13061306 if ! r .Next () {
13071307 if r .Err () != nil {
1308- t .Fatal (err )
1308+ t .Fatal (r . Err () )
13091309 }
13101310 t .Fatal ("expected row" )
13111311 }
@@ -1501,7 +1501,7 @@ func TestRuntimeParameters(t *testing.T) {
15011501 }
15021502
15031503 value , success := tryGetParameterValue ()
1504- if success != test .success && ! test . success {
1504+ if success != test .success && ! success {
15051505 t .Fatalf ("%v: unexpected error: %v" , test .conninfo , err )
15061506 }
15071507 if success != test .success {
You can’t perform that action at this time.
0 commit comments