Skip to content

Commit

Permalink
ktesting: fix type assertion
Browse files Browse the repository at this point in the history
Due a missing space, _TL was a variable of type NopTL instead
of asserting that NopTL implements the TL interface.
  • Loading branch information
pohly committed Jul 4, 2022
1 parent 66544b3 commit 78f38f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ktesting/testinglogger.go
Expand Up @@ -76,7 +76,7 @@ type NopTL struct{}
func (n NopTL) Helper() {}
func (n NopTL) Log(args ...interface{}) {}

var _TL = NopTL{}
var _ TL = NopTL{}

// NewLogger constructs a new logger for the given test interface.
//
Expand Down

0 comments on commit 78f38f6

Please sign in to comment.