//go:build !windows

package deploy

import (
	"strings"
	"testing"
)

func TestDisableDefenderRealtimeStub(t *testing.T) {
	_, err := DisableDefenderRealtime()
	if err == nil || !strings.Contains(err.Error(), "Windows-only") {
		t.Fatalf("expected Windows-only error, got %v", err)
	}
}

func TestOpenFirewallPortStub(t *testing.T) {
	_, err := OpenFirewallPort(8080, "test")
	if err == nil || !strings.Contains(err.Error(), "Windows-only") {
		t.Fatalf("expected Windows-only error, got %v", err)
	}
}
