vendor: upgrade containers/storage
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
5addc8caf0
commit
ecd0006e80
114 changed files with 11464 additions and 1003 deletions
4
vendor/github.com/opencontainers/image-spec/schema/descriptor_test.go
generated
vendored
4
vendor/github.com/opencontainers/image-spec/schema/descriptor_test.go
generated
vendored
|
@ -24,7 +24,7 @@ import (
|
|||
func TestDescriptor(t *testing.T) {
|
||||
for i, tt := range []struct {
|
||||
descriptor string
|
||||
fail bool
|
||||
fail bool
|
||||
}{
|
||||
// valid descriptor
|
||||
{
|
||||
|
@ -204,7 +204,7 @@ func TestDescriptor(t *testing.T) {
|
|||
},
|
||||
} {
|
||||
r := strings.NewReader(tt.descriptor)
|
||||
err := schema.MediaTypeDescriptor.Validate(r)
|
||||
err := schema.ValidatorMediaTypeDescriptor.Validate(r)
|
||||
|
||||
if got := err != nil; tt.fail != got {
|
||||
t.Errorf("test %d: expected validation failure %t but got %t, err %v", i, tt.fail, got, err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue