Skip to content

Commit d1fcd9a

Browse files
committed
fix param tests
1 parent b648513 commit d1fcd9a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

internal/bind/params_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,13 +297,14 @@ func TestToValue(t *testing.T) {
297297
},
298298
{
299299
src: uuid.UUID{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16},
300-
dst: value.TextValue("01020304-0506-0708-090a-0b0c0d0e0f10"), //nolint:staticcheck
300+
dst: value.TextValue("01020304-0506-0708-090a-0b0c0d0e0f10"),
301301
err: nil,
302302
},
303303
{
304304
src: func(v uuid.UUID) *uuid.UUID { return &v }(uuid.UUID{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}),
305305
// uuid implemented driver.Valuer and doesn't set optional wrapper
306-
dst: types.TextValue("01020304-0506-0708-090a-0b0c0d0e0f10"), //nolint:staticcheck,lll
306+
dst: types.TextValue("01020304-0506-0708-090a-0b0c0d0e0f10"),
307+
307308
err: nil,
308309
},
309310
// https://github.com/ydb-platform/ydb-go-sdk/issues/1515

0 commit comments

Comments
 (0)