Files
gluetun/internal/configuration/settings/portforward_test.go

20 lines
248 B
Go
Raw Normal View History

package settings
import (
"testing"
"github.com/stretchr/testify/assert"
)
func Test_PortForwarding_String(t *testing.T) {
t.Parallel()
settings := PortForwarding{
Enabled: ptrTo(false),
}
s := settings.String()
assert.Empty(t, s)
}