Update platform tests to use the defaultOS
fix tests on windows Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
parent
666d946455
commit
fe5bb4a0fc
@ -87,7 +87,7 @@ func TestParseSelector(t *testing.T) {
|
|||||||
OS: defaultOS,
|
OS: defaultOS,
|
||||||
Architecture: "arm",
|
Architecture: "arm",
|
||||||
},
|
},
|
||||||
formatted: "linux/arm",
|
formatted: joinNotEmpty(defaultOS, "arm"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
input: "armel",
|
input: "armel",
|
||||||
@ -96,7 +96,7 @@ func TestParseSelector(t *testing.T) {
|
|||||||
Architecture: "arm",
|
Architecture: "arm",
|
||||||
Variant: "v6",
|
Variant: "v6",
|
||||||
},
|
},
|
||||||
formatted: "linux/arm/v6",
|
formatted: joinNotEmpty(defaultOS, "arm/v6"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
input: "armhf",
|
input: "armhf",
|
||||||
@ -104,7 +104,7 @@ func TestParseSelector(t *testing.T) {
|
|||||||
OS: defaultOS,
|
OS: defaultOS,
|
||||||
Architecture: "arm",
|
Architecture: "arm",
|
||||||
},
|
},
|
||||||
formatted: "linux/arm",
|
formatted: joinNotEmpty(defaultOS, "arm"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
input: "Aarch64",
|
input: "Aarch64",
|
||||||
|
Loading…
Reference in New Issue
Block a user