You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: cover bufferedWriter error paths for WriteAt, CopyTo, Sync
Add tests for IO error scenarios when the underlying temp file is
closed or broken:
- TestBufferedWriterWriteAtFlushError: Flush fails in WriteAt
- TestBufferedWriterCopyToFlushError: Flush fails in CopyTo
- TestBufferedWriterCopyToSeekError: Seek fails in CopyTo
- TestBufferedWriterSyncWriteToError: WriteTo fails in Sync
This brings diff coverage from 95.56% to 100%.
0 commit comments