Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sywhang committed Oct 28, 2022
1 parent 0846800 commit ded5018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sugar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func TestSugarStructuredLogging(t *testing.T) {
extra = []interface{}{err, "baz", false}
expectedFields = []Field{String("foo", "bar"), Error(err), Bool("baz", false)}
)

for _, tt := range tests {
withSugar(t, DebugLevel, nil, func(logger *SugaredLogger, logs *observer.ObservedLogs) {
logger.With(context...).Debugw(tt.msg, extra...)
Expand Down

0 comments on commit ded5018

Please sign in to comment.