chore: make comment accurate (#1055)

master
Kevin Wan 3 years ago committed by GitHub
parent 7c83155e4f
commit 872c50b71a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -100,7 +100,7 @@ func TestRotateLoggerRotate(t *testing.T) {
err = logger.rotate() err = logger.rotate()
switch v := err.(type) { switch v := err.(type) {
case *os.LinkError: case *os.LinkError:
// avoid rename error on ubuntu // avoid rename error on docker container
assert.Equal(t, syscall.EXDEV, v.Err) assert.Equal(t, syscall.EXDEV, v.Err)
default: default:
assert.Nil(t, err) assert.Nil(t, err)

Loading…
Cancel
Save