| 1 |
package tools |
| 2 |
|
| 3 |
import ( |
| 4 |
"io" |
| 5 |
"os" |
| 6 |
"testing" |
| 7 |
) |
| 8 |
|
| 9 |
func TestMethodExists(t *testing.T) { |
| 10 |
// testing following methods exist in all platform. |
| 11 |
_, _ = CheckCloneFileSupported(os.TempDir()) |
| 12 |
_, _ = CloneFile(io.Writer(nil), io.Reader(nil)) |
| 13 |
_, _ = CloneFileByPath("", "") |
| 14 |
} |