mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
12 lines
200 B
Go
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.")
|
|
}
|
|
}
|