From 71730e9a8b081fcc5ec8b6e79fe1d442f4a2d606 Mon Sep 17 00:00:00 2001 From: gkits <56302678+gKits@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:31:33 +0100 Subject: [PATCH] test: fix expected value --- sqlnull_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlnull_test.go b/sqlnull_test.go index 6247b50..b42199a 100644 --- a/sqlnull_test.go +++ b/sqlnull_test.go @@ -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},