This commit is contained in:
Michael Yang 2023-12-15 14:07:34 -08:00
parent acfc376efd
commit 2bb2bdd5d4
11 changed files with 15 additions and 15 deletions

View file

@ -193,8 +193,8 @@ func Test_Routes(t *testing.T) {
}
resp, err := httpSrv.Client().Do(req)
defer resp.Body.Close()
assert.Nil(t, err)
defer resp.Body.Close()
if tc.Expected != nil {
tc.Expected(t, resp)