filebrowser/utils/_unused/files/files_test.go

12 lines
200 B
Go
Raw Normal View History

2016-06-25 20:57:10 +00:00
package files
import "testing"
func TestCopyFile(t *testing.T) {
err := CopyFile("test_data/file_to_copy.txt", "test_data/copied_file.txt")
if err != nil {
t.Error("Can't copy the file.")
}
}