From 796ba0225cacbeef254c7e67d0d5a7ed5bc5b451 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Oct 2025 11:18:06 +0300 Subject: [PATCH] test: Skip TestUpgradeInfoURLs on some platforms. --- cmd/upgrade_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/upgrade_test.go b/cmd/upgrade_test.go index 8c1b1a3..a0b1419 100644 --- a/cmd/upgrade_test.go +++ b/cmd/upgrade_test.go @@ -30,6 +30,8 @@ func TestUpgradeInfoURLs(t *testing.T) { osType = "Windows" case "linux": osType = "Linux" + default: + t.Skip("Test unsupported on this platform.") } switch runtime.GOARCH { case "386": @@ -38,6 +40,8 @@ func TestUpgradeInfoURLs(t *testing.T) { archType = "64" case "arm64": archType = "arm64" + default: + t.Skip("Test unsupported on this platform.") } uinfo = upgradeInfo{