Skip to content

Commit

Permalink
Merge pull request #225 from bitgestalt/fix_test_empty_name
Browse files Browse the repository at this point in the history
Fix TestLookupEmptyNameFails
  • Loading branch information
katiewasnothere committed Dec 1, 2021
2 parents 60c1574 + 05c1e88 commit 568b5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sd_test.go
Expand Up @@ -20,7 +20,7 @@ func TestLookupValidSid(t *testing.T) {
}

func TestLookupEmptyNameFails(t *testing.T) {
_, err := LookupSidByName(".\\weoifjdsklfj")
_, err := LookupSidByName("")
aerr, ok := err.(*AccountLookupError)
if !ok || aerr.Err != cERROR_NONE_MAPPED {
t.Fatalf("expected AccountLookupError with ERROR_NONE_MAPPED, got %s", err)
Expand Down

0 comments on commit 568b5c2

Please sign in to comment.