diff --git a/platforms/platforms_test.go b/platforms/platforms_test.go index a88dfbf42..b4148c9d0 100644 --- a/platforms/platforms_test.go +++ b/platforms/platforms_test.go @@ -87,7 +87,7 @@ func TestParseSelector(t *testing.T) { OS: defaultOS, Architecture: "arm", }, - formatted: "linux/arm", + formatted: joinNotEmpty(defaultOS, "arm"), }, { input: "armel", @@ -96,7 +96,7 @@ func TestParseSelector(t *testing.T) { Architecture: "arm", Variant: "v6", }, - formatted: "linux/arm/v6", + formatted: joinNotEmpty(defaultOS, "arm/v6"), }, { input: "armhf", @@ -104,7 +104,7 @@ func TestParseSelector(t *testing.T) { OS: defaultOS, Architecture: "arm", }, - formatted: "linux/arm", + formatted: joinNotEmpty(defaultOS, "arm"), }, { input: "Aarch64",