Skip to content

Commit

Permalink
chore: make comment accurate (zeromicro#1055)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan authored Sep 17, 2021
1 parent 7c83155 commit 872c50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/logx/rotatelogger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func TestRotateLoggerRotate(t *testing.T) {
err = logger.rotate()
switch v := err.(type) {
case *os.LinkError:
// avoid rename error on ubuntu
// avoid rename error on docker container
assert.Equal(t, syscall.EXDEV, v.Err)
default:
assert.Nil(t, err)
Expand Down

0 comments on commit 872c50b

Please sign in to comment.