safing-portmaster/netenv/online-status_test.go
2022-02-02 12:48:42 +01:00

14 lines
250 B
Go

package netenv
import (
"context"
"testing"
)
func TestCheckOnlineStatus(t *testing.T) {
t.Parallel()
checkOnlineStatus(context.Background())
t.Logf("online status: %s", GetOnlineStatus())
t.Logf("captive portal: %+v", GetCaptivePortal())
}