mirror of
https://github.com/go-gitea/gitea
synced 2024-06-02 10:39:50 +02:00
improve test
This commit is contained in:
parent
15c439d21a
commit
50bf919576
|
@ -179,7 +179,7 @@ func TestPackageGeneric(t *testing.T) {
|
|||
|
||||
resp2, err := (&http.Client{}).Get(location)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, http.StatusOK, resp2.StatusCode)
|
||||
assert.Equal(t, http.StatusOK, resp2.StatusCode, location)
|
||||
|
||||
body, err := io.ReadAll(resp2.Body)
|
||||
assert.NoError(t, err)
|
||||
|
|
Loading…
Reference in a new issue