ctr: Add Variant field to default test expected result
This test case should cover the variant field now, as we have
add Variant to default value of spec.platform.
@@ -12,6 +12,7 @@ func TestDefault(t *testing.T) {
expected := specs.Platform{
OS: runtime.GOOS,
Architecture: runtime.GOARCH,
+ Variant: cpuVariant,
}
p := DefaultSpec()
if !reflect.DeepEqual(p, expected) {
