We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9ef1ee commit 5014110Copy full SHA for 5014110
query/encode_test.go
@@ -356,6 +356,9 @@ func TestValues_EmbeddedStructs(t *testing.T) {
356
type Outer struct {
357
Inner
358
}
359
+ type OuterPtr struct {
360
+ *Inner
361
+ }
362
type Mixed struct {
363
364
V string
@@ -376,6 +379,10 @@ func TestValues_EmbeddedStructs(t *testing.T) {
376
379
Outer{Inner{V: "a"}},
377
380
url.Values{"V": {"a"}},
378
381
},
382
+ {
383
+ OuterPtr{&Inner{V: "a"}},
384
+ url.Values{"V": {"a"}},
385
+ },
386
{
387
Mixed{Inner: Inner{V: "a"}, V: "b"},
388
url.Values{"V": {"b", "a"}},
0 commit comments