Skip to content

Commit

Permalink
test: fix expected value
Browse files Browse the repository at this point in the history
  • Loading branch information
gKits committed Oct 28, 2024
1 parent 46e3737 commit 71730e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlnull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func Test_UnmarshalJSON(t *testing.T) {
"time": null
}`),
want: target{
Generic: sqlnull.Null[string]{V: "generic", Valid: false},
Generic: sqlnull.Null[string]{V: "", Valid: false},
String: sqlnull.NullString{String: "", Valid: false},
Bool: sqlnull.NullBool{Bool: false, Valid: false},
Byte: sqlnull.NullByte{Byte: 0, Valid: false},
Expand Down

0 comments on commit 71730e9

Please sign in to comment.