mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Merge pull request #28980 from lixiaobing10051267/masterReference
checkt t.Fatalf information for reference path Upstream-commit: 9d4792798409cb8a1ba00b10296b97da6f7262b8 Component: engine
This commit is contained in:
@@ -229,7 +229,7 @@ func TestParseRepositoryInfo(t *testing.T) {
|
||||
t.Fatalf("Invalid normalized reference for %q. Expected %q, got %q", r, expected, actual)
|
||||
}
|
||||
if expected, actual := tcase.FullName, r.FullName(); expected != actual {
|
||||
t.Fatalf("Invalid normalized reference for %q. Expected %q, got %q", r, expected, actual)
|
||||
t.Fatalf("Invalid fullName for %q. Expected %q, got %q", r, expected, actual)
|
||||
}
|
||||
if expected, actual := tcase.Hostname, r.Hostname(); expected != actual {
|
||||
t.Fatalf("Invalid hostname for %q. Expected %q, got %q", r, expected, actual)
|
||||
|
||||
@@ -350,7 +350,7 @@ func TestInvalidTags(t *testing.T) {
|
||||
}
|
||||
err = store.AddTag(ref, id, true)
|
||||
if err == nil {
|
||||
t.Fatalf("expected setting digest %q to fail", ref)
|
||||
t.Fatalf("expected setting tag %q to fail", ref)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user