mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2024-12-22 00:28:00 +00:00
Update test to latest quic version
This commit is contained in:
parent
a490d5f10e
commit
55e6cd4816
@ -119,7 +119,7 @@ func TestContainerIntegration(t *testing.T) {
|
|||||||
resp, _ = client.Do(req)
|
resp, _ = client.Do(req)
|
||||||
body, err = io.ReadAll(resp.Body)
|
body, err = io.ReadAll(resp.Body)
|
||||||
if strings.Contains(tt.url, "https://") {
|
if strings.Contains(tt.url, "https://") {
|
||||||
assert.Equal(t, `h3=":8001"; ma=2592000,h3-29=":8001"; ma=2592000`, resp.Header.Get("Alt-Svc"))
|
assert.Equal(t, `h3=":8001"; ma=2592000`, resp.Header.Get("Alt-Svc"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user