Merging upstream version 1.0.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
c8b00cb8af
commit
61133985ce
13 changed files with 86 additions and 43 deletions
|
@ -63,7 +63,7 @@ func Test_SetWithProperType(t *testing.T) {
|
|||
m.Post(testRoute, func(_ http.ResponseWriter, req *http.Request) {
|
||||
var actual Everything
|
||||
errs := Form(req, &actual)
|
||||
assert.EqualValues(t, fmt.Sprintf("%+v", expectedOutputs[key]), fmt.Sprintf("%+v", actual))
|
||||
assert.Equal(t, fmt.Sprintf("%+v", expectedOutputs[key]), fmt.Sprintf("%+v", actual))
|
||||
if key == "errorful" {
|
||||
assert.Len(t, errs, 10)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue