1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

checkt t.Fatalf information for reference path

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
lixiaobing10051267 2016-11-30 17:54:41 +08:00
parent ccd5e18990
commit 4b1ff89fae
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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)
}
}