Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
linxGnu committed Jul 6, 2021
1 parent 54b7d9b commit c18b687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mssqlx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ func TestNilReceivers(t *testing.T) {
}

var num int
require.NotNil(t, db.QueryRow("SELECT count(1) FROM person").Scan(&num))
require.Nil(t, db.QueryRow("SELECT count(1) FROM person").Scan(&num))
require.True(t, num > 0)
require.NotNil(t, db.QueryRowOnMaster("SELECT * FROM person LIMIT 2"))
require.NotNil(t, db.QueryRowContext(context.Background(), "SELECT * FROM person LIMIT 1"))
Expand Down

0 comments on commit c18b687

Please sign in to comment.