Skip to content

Commit

Permalink
Added Debugf to empty logger for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
timshannon committed Mar 15, 2019
1 parent 0585908 commit e44ddb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ type emptyLogger struct{}
func (e emptyLogger) Errorf(msg string, data ...interface{}) {}
func (e emptyLogger) Infof(msg string, data ...interface{}) {}
func (e emptyLogger) Warningf(msg string, data ...interface{}) {}
func (e emptyLogger) Debugf(msg string, data ...interface{}) {}

func testOptions() badgerhold.Options {
opt := badgerhold.DefaultOptions
Expand Down

0 comments on commit e44ddb7

Please sign in to comment.