mirror of
https://github.com/golang/sys.git
synced 2026-02-08 19:56:04 +03:00
address review
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user