Call Fatalf to use the format specifier

Signed-off-by: John Stephens <johnstep@docker.com>
This commit is contained in:
John Stephens
2018-04-30 16:52:55 -07:00
parent 7da180ee92
commit 1891e2bbff
+1 -1
View File
@@ -13,7 +13,7 @@ func TestLookupInvalidSid(t *testing.T) {
func TestLookupValidSid(t *testing.T) {
sid, err := LookupSidByName("Everyone")
if err != nil || sid != "S-1-1-0" {
t.Fatal("expected S-1-1-0, got %s, %s", sid, err)
t.Fatalf("expected S-1-1-0, got %s, %s", sid, err)
}
}