diff options
Diffstat (limited to 'errors_test.go')
| -rw-r--r-- | errors_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/errors_test.go b/errors_test.go index 553939d..e35e5b3 100644 --- a/errors_test.go +++ b/errors_test.go @@ -101,19 +101,19 @@ func TestIsRetryable(t *testing.T) { } func TestLogError_DiskFull(t *testing.T) { - logError("copy", "test.txt", syscall.ENOSPC) + logSyncError("copy", "test.txt", syscall.ENOSPC) } func TestLogError_PermissionDenied(t *testing.T) { - logError("write", "test.txt", syscall.EACCES) + logSyncError("write", "test.txt", syscall.EACCES) } func TestLogError_NotExist(t *testing.T) { - logError("stat", "test.txt", fs.ErrNotExist) + logSyncError("stat", "test.txt", fs.ErrNotExist) } func TestLogError_Nil(t *testing.T) { - logError("test", "file.txt", nil) + logSyncError("test", "file.txt", nil) } func TestSyncError(t *testing.T) { |
