Skip to content

Commit

Permalink
fix test to still support go 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
glebarez committed May 27, 2022
1 parent 7e3d53f commit c7b77cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func TestIssue100(t *testing.T) {
if _, err := db.Exec(`INSERT INTO t1(v) VALUES(?)`, val); err != nil {
t.Fatal(err)
}
var res sql.NullByte
var res sql.NullString
if err = db.QueryRow(`SELECT v FROM t1 LIMIT 1`).Scan(&res); err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit c7b77cb

Please sign in to comment.