Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=94611 >
>
> The issue appears to be that when Kent rewrote my slurp_text_file to use Path::Tiny's slurp_utf8, he didn't consider that (unlike my code) it doesn't do :crlf translation on Windows. That broke the tests on Windows.
>
> I didn't notice because I haven't been able to get dzil installed on my new Windows machine because it doesn't pass its tests. I haven't had time to debug it. (I do most of my development on Linux these days.) Just FYI, the error is
>
> Syntax error at line 2: 'n
> ' at C:\Users\cjm\.cpanm\work\1397185963.4496\Dist-Zilla-5.015\blib\lib/Dist/Zilla/Util/AuthorDeps.pm line 35.
> # Looks like your test exited with 255 before it could output anything.
> t/commands/authordeps.t ......
> Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 1/1 subtests
That looks like corpus/dist/AutoPrereqs/dist.ini is being executed as a .pl
file... very odd!
Show quoted text> I believe the Git plugins are working ok; it's just the test that has a problem. There doesn't seem to be any way to get slurp_utf8 to do :crlf, so the simplest thing is probably to go back to the old code.
I'm sure there's a way; I'll poke the file layer experts.