Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LYY committed Aug 16, 2024
1 parent ae5dada commit a841d77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions query/encode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -747,11 +747,11 @@ func TestParseTag(t *testing.T) {
}

type customStructString struct {
V string
inner string
}

func (s customStructString) String() string {
return s.V
return s.inner
}

func TestValues_CustomStructStringValue(t *testing.T) {
Expand All @@ -769,7 +769,7 @@ func TestValues_CustomStructStringValue(t *testing.T) {
struct {
V customStructString `url:"v"`
}{},
url.Values{"v[V]": {""}},
url.Values{},
},
}

Expand Down

0 comments on commit a841d77

Please # to comment.