Subject: | Bug in generated t/00-compile.t |
Theres a bug when the file path contains a space, caused by line 61 in t/00_compile.t:
like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ loaded ok" )
The $^X needs to be quoted, although as this is a generated test, and I think the latest version of Dist::Zilla::Plugin::Test::Compile doesnt have this issue. The following is what I changed anyway:
like( qx{ "$^X" -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ loaded ok" )
Theres also a few pull requests open on Github, so may be worth looking at those and integrating for an update to fix multiple things?