Merge pull request #77 from johnstep/fix-valid-sid-test

Call Fatalf to use the format specifier
This commit is contained in:
John Howard
2018-05-01 10:05:46 -07:00
committed by GitHub
+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)
}
}