Skip to content

Commit

Permalink
Enable ability to compile against 1.16 testing libraries (#282) (#286)
Browse files Browse the repository at this point in the history
Signed-off-by: Ken Sipe <[email protected]>

Co-authored-by: Ken Sipe <[email protected]>
  • Loading branch information
ANeumann82 and kensipe authored Apr 21, 2021
1 parent 3515648 commit b6e92c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/test/utils/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ func (testDeps) MatchString(pat, str string) (result bool, err error) {
return matchRe.MatchString(str), nil
}

func (testDeps) SetPanicOnExit0(bool) {}

func (testDeps) StartCPUProfile(w io.Writer) error {
return pprof.StartCPUProfile(w)
}
Expand Down

0 comments on commit b6e92c1

Please sign in to comment.