mirror of
https://github.com/containers/skopeo.git
synced 2025-07-19 09:07:13 +00:00
fix missing comma in tests
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
adbf487541
commit
0109708048
@ -102,7 +102,7 @@ func (s *SkopeoSuite) TestNeedAuthToPrivateRegistryV2WithoutDockerCfg(c *check.C
|
|||||||
// TODO(runcom): as soon as we can push to registries ensure you can inspect here
|
// TODO(runcom): as soon as we can push to registries ensure you can inspect here
|
||||||
// not just get image not found :)
|
// not just get image not found :)
|
||||||
func (s *SkopeoSuite) TestNoNeedAuthToPrivateRegistryV2ImageNotFound(c *check.C) {
|
func (s *SkopeoSuite) TestNoNeedAuthToPrivateRegistryV2ImageNotFound(c *check.C) {
|
||||||
out, err := exec.Command(skopeoBinary, "inspect" fmt.Sprintf("docker://%s/busybox:latest", s.regV2.url)).CombinedOutput()
|
out, err := exec.Command(skopeoBinary, "inspect", fmt.Sprintf("docker://%s/busybox:latest", s.regV2.url)).CombinedOutput()
|
||||||
c.Assert(err, check.NotNil, check.Commentf(string(out)))
|
c.Assert(err, check.NotNil, check.Commentf(string(out)))
|
||||||
wanted := "Error: image busybox not found"
|
wanted := "Error: image busybox not found"
|
||||||
if !strings.Contains(string(out), wanted) {
|
if !strings.Contains(string(out), wanted) {
|
||||||
|
Loading…
Reference in New Issue
Block a user