Skip to content

Commit

Permalink
Add NullUniqueIdentifier to TestBulkcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Gehrsitz committed Nov 2, 2023
1 parent eab3da4 commit 667bccf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bulkcopy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func TestBulkcopy(t *testing.T) {
{"test_intf32", float32(1234.56), 1234},
{"test_geom", geom, string(geom)},
{"test_uniqueidentifier", uid, string(uid)},
{"test_nulluniqueidentifier", nil, nil},
// {"test_smallmoney", 1234.56, nil},
// {"test_money", 1234.56, nil},
{"test_decimal_18_0", 1234.0001, "1234"},
Expand Down Expand Up @@ -270,6 +271,7 @@ func setupTable(ctx context.Context, t *testing.T, conn *sql.Conn, tableName str
[test_geog] [geography] NULL,
[text_xml] [xml] NULL,
[test_uniqueidentifier] [uniqueidentifier] NULL,
[test_nulluniqueidentifier] [uniqueidentifier] NULL,
[test_decimal_18_0] [decimal](18, 0) NULL,
[test_decimal_18_2] [decimal](18, 2) NULL,
[test_decimal_9_2] [decimal](9, 2) NULL,
Expand Down

0 comments on commit 667bccf

Please sign in to comment.