mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-09-05 08:37:37 -04:00
Merge pull request #77 from johnstep/fix-valid-sid-test
Call Fatalf to use the format specifier
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ func TestLookupInvalidSid(t *testing.T) {
|
|||||||
func TestLookupValidSid(t *testing.T) {
|
func TestLookupValidSid(t *testing.T) {
|
||||||
sid, err := LookupSidByName("Everyone")
|
sid, err := LookupSidByName("Everyone")
|
||||||
if err != nil || sid != "S-1-1-0" {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user