Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
craig65535 committed Apr 21, 2023
1 parent 4c0bcbb commit 929aeb4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions windows/svc/mgr/mgr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,7 @@ func TestMyService(t *testing.T) {
t.Fatalf("service %s is not installed", name)
}
defer s.Close()
defer func() {
_ = s.Delete()
}()
defer s.Delete()

c.BinaryPathName = exepath
c = testConfig(t, s, c)
Expand Down

0 comments on commit 929aeb4

Please sign in to comment.