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,
|
||||
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",
|
||||
|
Loading…
Reference in New Issue
Block a user