mirror of
https://github.com/qdm12/gluetun.git
synced 2025-12-11 13:56:50 -06:00
17 lines
232 B
Go
17 lines
232 B
Go
package httpproxy
|
|
|
|
import (
|
|
"net/http"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func Test_returnRedirect(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
err := returnRedirect(nil, nil)
|
|
|
|
assert.Equal(t, http.ErrUseLastResponse, err)
|
|
}
|