Skip to content

Commit

Permalink
fix: unit tests errot on rotatefile pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Jun 9, 2022
1 parent e775d38 commit 3a5bac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rotatefile/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ func TestNewConfig(t *testing.T) {
c.Compress = true
})
assert.True(t, cfg.Compress)
assert.Equal(t, 0, cfg.BackupNum)
assert.Equal(t, 0, cfg.BackupTime)
assert.Equal(t, uint(0), cfg.BackupNum)
assert.Equal(t, uint(0), cfg.BackupTime)
}

func TestRotateTime_String(t *testing.T) {
Expand Down

0 comments on commit 3a5bac2

Please sign in to comment.