safing-portmaster/netenv/online-status_test.go
2020-07-15 08:53:55 +02:00

12 lines
235 B
Go

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