test: Modify Fatal to Fatalf as we have a specifier
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
parent
d7cbdfce76
commit
bb4b2e9fea
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ func TestGetContainerInfo(t *testing.T) {
|
||||||
t.Fatalf("expected sandbox to be testsandboxid, got %s", ci.Sandbox)
|
t.Fatalf("expected sandbox to be testsandboxid, got %s", ci.Sandbox)
|
||||||
}
|
}
|
||||||
if ci.IP != "1.1.1.42" {
|
if ci.IP != "1.1.1.42" {
|
||||||
t.Fatal("expected ip 1.1.1.42, got %s", ci.IP)
|
t.Fatalf("expected ip 1.1.1.42, got %s", ci.IP)
|
||||||
}
|
}
|
||||||
if len(ci.Annotations) == 0 {
|
if len(ci.Annotations) == 0 {
|
||||||
t.Fatal("annotations are empty")
|
t.Fatal("annotations are empty")
|
||||||
|
|
Loading…
Reference in a new issue