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
|
@ -586,7 +586,7 @@ func performValidationTest(t *testing.T, testCase validationTestCase) {
|
|||
|
||||
m.Post(testRoute, func(_ http.ResponseWriter, req *http.Request) {
|
||||
actual := Validate(req, testCase.data)
|
||||
assert.EqualValues(t, fmt.Sprintf("%+v", testCase.expectedErrors), fmt.Sprintf("%+v", actual), testCase.description)
|
||||
assert.Equal(t, fmt.Sprintf("%+v", testCase.expectedErrors), fmt.Sprintf("%+v", actual), testCase.description)
|
||||
})
|
||||
|
||||
req, err := http.NewRequest("POST", testRoute, nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue