File tree 1 file changed +4
-4
lines changed
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) {
318
318
319
319
if ! r1 .Next () {
320
320
if r .Err () != nil {
321
- t .Fatal (r1 .Err ())
321
+ t .Fatal (r .Err ())
322
322
}
323
323
t .Fatal ("expected row" )
324
324
}
@@ -1290,7 +1290,7 @@ func TestNullAfterNonNull(t *testing.T) {
1290
1290
1291
1291
if ! r .Next () {
1292
1292
if r .Err () != nil {
1293
- t .Fatal (err )
1293
+ t .Fatal (r . Err () )
1294
1294
}
1295
1295
t .Fatal ("expected row" )
1296
1296
}
@@ -1305,7 +1305,7 @@ func TestNullAfterNonNull(t *testing.T) {
1305
1305
1306
1306
if ! r .Next () {
1307
1307
if r .Err () != nil {
1308
- t .Fatal (err )
1308
+ t .Fatal (r . Err () )
1309
1309
}
1310
1310
t .Fatal ("expected row" )
1311
1311
}
@@ -1501,7 +1501,7 @@ func TestRuntimeParameters(t *testing.T) {
1501
1501
}
1502
1502
1503
1503
value , success := tryGetParameterValue ()
1504
- if success != test .success && ! test . success {
1504
+ if success != test .success && ! success {
1505
1505
t .Fatalf ("%v: unexpected error: %v" , test .conninfo , err )
1506
1506
}
1507
1507
if success != test .success {
You can’t perform that action at this time.
0 commit comments