Fix IPV6 detection
This commit is contained in:
parent
a68820808a
commit
123ffc0c38
3 changed files with 34 additions and 3 deletions
|
|
@ -58,3 +58,10 @@ func TestIsPortAvailable(t *testing.T) {
|
|||
t.Fatalf("expected port %v to not be available", p)
|
||||
}
|
||||
}
|
||||
|
||||
func TestIsIPv6Enabled(t *testing.T) {
|
||||
isEnabled := IsIPv6Enabled()
|
||||
if !isEnabled {
|
||||
t.Fatalf("expected IPV6 be enabled")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue