mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
3ac8494d23
git-subtree-dir: orbit git-subtree-mainline:d5974aad97
git-subtree-split:ab3047bb39
17 lines
263 B
Go
17 lines
263 B
Go
package insecure
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestProxy(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
proxy, err := NewTLSProxy("localhost")
|
|
require.NoError(t, err)
|
|
assert.NotZero(t, proxy.Port)
|
|
}
|