mirror of
https://github.com/rclone/rclone
synced 2024-11-28 06:41:41 +01:00
Fix nil pointer exception on test failure
This commit is contained in:
parent
2fcb8f5db7
commit
be6115fbfa
@ -279,7 +279,7 @@ func TestFsCopy(t *testing.T) {
|
||||
src := findObject(t, file1.Path)
|
||||
dst, err := remote.(fs.Copier).Copy(src, file1Copy.Path)
|
||||
if err != nil {
|
||||
t.Errorf("Copy failed: %v", err)
|
||||
t.Fatalf("Copy failed: %v (%#v)", err, err)
|
||||
}
|
||||
|
||||
// check file exists in new listing
|
||||
|
Loading…
Reference in New Issue
Block a user