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{