drmuey / p5-File-Copy-Recursive

Perl extension for recursively copying files and directories
5 stars 12 forks source link

tests fail with old Path ::Tiny on Windows #34

Open chorny opened 3 years ago

chorny commented 3 years ago
# Testing legacy File::Copy::Recursive::pathmk() 0.45
Can't locate object method "visit" via package "Path::Tiny" at t/05.legacy-pathmk_unc.t line 55.
# Looks like you planned 6 tests but ran 2.
# Looks like your test exited with 2 just after 2.
t/05.legacy-pathmk_unc.t ..
Dubious, test returned 2 (wstat 512, 0x200)

As 05.legacy-pathmk_unc.t is active only on Windows, problem does not manifest on other OSes.

Path::Tiny->visit was introduced in version 0.065, I suggest just skipping test with older versions.