Skip to content

Commit 5c5dc02

Browse files
test
1 parent 84d11c0 commit 5c5dc02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bindform_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ func TestMarshalForm(t *testing.T) {
152152
},
153153
"opt_int=456": {OptInt: func(v int) *int { return &v }(456)},
154154
"opt_bool=true": {OptBool: func(v bool) *bool { return &v }(true)},
155+
"": {OptBoolNullable: nil},
155156
"opt_string=def": {OptString: func(v string) *string { return &v }("def")},
156157
"opt_struct[int]=456&opt_struct[string]=def": {OptStruct: &testSubStruct{Int: 456, String: "def"}},
157158
"opt_struct_slice[0][int]=123&opt_struct_slice[0][string]=abc&opt_struct_slice[1][int]=456&opt_struct_slice[1][string]=def": {

0 commit comments

Comments
 (0)