Skip to content

Commit

Permalink
address lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Feb 26, 2021
1 parent acaa3a7 commit 44d0c59
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions log_level_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ func TestLogLevel(t *testing.T) {
logger.Debugw("bar")
SetAllLoggers(LevelInfo)
logger.Debugw("baz")
logger.Sync()
reader.Close()
if err := logger.Sync(); err != nil {
t.Error(err)
}
if err := reader.Close(); err != nil {
t.Error(err)
}
<-done
}

0 comments on commit 44d0c59

Please sign in to comment.