mirror of
https://github.com/moby/moby.git
synced 2026-08-04 15:11:00 +00:00
Merge pull request #41070 from kolyshkin/test-fix
int/build/TestBuildWithEmptyLayers: prevent panic
This commit is contained in:
@@ -378,7 +378,7 @@ RUN cat somefile`
|
||||
|
||||
imageIDs, err := getImageIDsFromBuild(out.Bytes())
|
||||
assert.NilError(t, err)
|
||||
assert.Check(t, is.Equal(3, len(imageIDs)))
|
||||
assert.Assert(t, is.Equal(3, len(imageIDs)))
|
||||
|
||||
image, _, err := apiclient.ImageInspectWithRaw(context.Background(), imageIDs[2])
|
||||
assert.NilError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user