chore: make comment accurate (#1055)

This commit is contained in:
Kevin Wan
2021-09-17 11:11:42 +08:00
committed by GitHub
parent 7c83155e4f
commit 872c50b71a

View File

@@ -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)