Skip to content

Commit 4cc2898

Browse files
committed
simplify double start
1 parent 32c101f commit 4cc2898

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

profile_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ package main
7474
import "github.com/pkg/profile"
7575
7676
func main() {
77-
defer profile.Start().Stop()
78-
defer profile.Start().Stop()
77+
profile.Start()
78+
profile.Start()
7979
}
8080
`,
8181
checks: []checkFn{

0 commit comments

Comments
 (0)