mirror of
https://github.com/moby/moby.git
synced 2025-07-30 18:23:29 +03:00
Improve reference parse errors
Fixes #18093 Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
@ -265,7 +265,7 @@ func (s *DockerSuite) TestCreateByImageID(c *check.C) {
|
||||
c.Fatalf("expected non-zero exit code; received %d", exit)
|
||||
}
|
||||
|
||||
if expected := "invalid reference format"; !strings.Contains(out, expected) {
|
||||
if expected := "Error parsing reference"; !strings.Contains(out, expected) {
|
||||
c.Fatalf(`Expected %q in output; got: %s`, expected, out)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user