Skip to content

Commit

Permalink
fix linters
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Kirkpatrick <[email protected]>
  • Loading branch information
rosskirkpat committed May 7, 2024
1 parent d28900b commit e5dac7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/testutil/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,18 @@ type TestLogger struct {
}

func (l *TestLogger) Errorf(format string, v ...interface{}) {
l.output("ERROR RESTY "+format, v...)
l.outputf("ERROR RESTY "+format, v...)
}

func (l *TestLogger) Warnf(format string, v ...interface{}) {
l.output("WARN RESTY "+format, v...)
l.outputf("WARN RESTY "+format, v...)
}

func (l *TestLogger) Debugf(format string, v ...interface{}) {
l.output("DEBUG RESTY "+format, v...)
l.outputf("DEBUG RESTY "+format, v...)
}

func (l *TestLogger) output(format string, v ...interface{}) {
func (l *TestLogger) outputf(format string, v ...interface{}) {
if len(v) == 0 {
l.L.Print(format)
return
Expand Down

0 comments on commit e5dac7c

Please sign in to comment.