filebrowser/files/files_test.go
Henrique Dias b43d8e2465 clean
2016-06-21 15:28:15 +01:00

12 lines
200 B
Go

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.")
}
}