vfscopy/copy_test.go

19 lines
289 B
Go
Raw Normal View History

2020-10-23 19:53:09 +00:00
package vfscopy
import (
"testing"
)
func TestRecursiveCopy(t *testing.T) {
{
opts := Options{
OnSymlink: func (path string) SymlinkAction {
return Shallow
},
}
if err := Copy( "./fixtures/src/", "/tmp/dst/", opts,); nil != err {
t.Fatalf("error: %v", err)
}
}
}