From fe5bb4a0fcb74ad1a73afcdfe501982ff0ae0808 Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Wed, 15 Nov 2017 13:27:35 -0500 Subject: [PATCH] Update platform tests to use the defaultOS fix tests on windows Signed-off-by: Daniel Nephin --- platforms/platforms_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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",