mirror of
https://github.com/safing/portmaster
synced 2025-04-20 19:09:11 +00:00
14 lines
250 B
Go
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())
|
|
}
|