Closed skaji closed 6 years ago
On windows, t\010_internals\007_compile_errs.t sometimes fails. See https://ci.appveyor.com/project/gfx/p5-text-xslate/build/1.0.4
t\010_internals\007_compile_errs.t assumes that the mtime of template files for it are now. On windows, File::Copy::copy equals Win32::CopyFile, which preserves the original mtime. So the mtime of template files for test may not be now.
This PR sets mtime now manually on windows.
On windows, t\010_internals\007_compile_errs.t sometimes fails. See https://ci.appveyor.com/project/gfx/p5-text-xslate/build/1.0.4
t\010_internals\007_compile_errs.t assumes that the mtime of template files for it are now. On windows, File::Copy::copy equals Win32::CopyFile, which preserves the original mtime. So the mtime of template files for test may not be now.
This PR sets mtime now manually on windows.