Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
imneov committed Feb 24, 2023
1 parent e2c2f78 commit 3d5cec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/runtime/runtime_2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func p(fn func()) time.Duration {
runtime.GC()
start := time.Now()
fn() // get up-to-date statistics
ret := time.Now().Sub(start)
ret := time.Since(start)
if err := pprof.WriteHeapProfile(mem); err != nil {
log.Fatal("could not write memory profile: ", err)
}
Expand Down

0 comments on commit 3d5cec7

Please sign in to comment.