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