Skip to content

Commit

Permalink
fix: test case of select with nullable columns
Browse files Browse the repository at this point in the history
  • Loading branch information
mackee committed Jul 10, 2024
1 parent 43a2c60 commit 3bfc52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _example/group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func TestSelectNullable(t *testing.T) {
{
name: "query by type parameters multiple",
query: example.NewGroupSQL().Select().SubLeaderUserIDIn(42, 43, 44),
expect: "SELECT " + groupAllColumns + " FROM `group` WHERE `sub_leader_user_id` IN (?,?,?);",
expect: "SELECT " + groupAllColumns + " FROM `group` WHERE `sub_leader_user_id` IN(?,?,?);",
args: []interface{}{
sql.Null[example.UserId]{V: 42, Valid: true},
sql.Null[example.UserId]{V: 43, Valid: true},
Expand Down

0 comments on commit 3bfc52f

Please sign in to comment.