filebrowser/tools/files/files_test.go

12 lines
200 B
Go
Raw Normal View History

2016-03-06 19:18:46 +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.")
}
}