mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
client/image_remove&search: Wrap options and result
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
committed by
Austin Vazquez
parent
b3974f07f5
commit
347693a580
@@ -108,6 +108,6 @@ func TestImageRemove(t *testing.T) {
|
||||
|
||||
imageDeletes, err := client.ImageRemove(context.Background(), "image_id", opts)
|
||||
assert.NilError(t, err)
|
||||
assert.Check(t, is.Len(imageDeletes, 2))
|
||||
assert.Check(t, is.Len(imageDeletes.Deleted, 2))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user