Skip Menu |

This queue is for tickets about the CSS-Inliner CPAN distribution.

Report information
The Basics
Id: 68796
Status: resolved
Priority: 0/
Queue: CSS-Inliner

People
Owner: Nobody in particular
Requestors: quinnfazigu [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Fragile discovery of t/html directory
If CPAN happens to make a temporary build directory ending in 't', the following test files will fail to discover the html directory containing their fixtures: t/acidtest.t t/linebreaktest.t t/linktest.t It's easily fixable thus: +use FindBin qw($Bin); -my $html_path = (getcwd =~ m/t$/) ? getcwd . '/html/' : getcwd . '/t/html/'; +my $html_path = "$Bin/html/"; Or just change the regex to something like m{/t$}.
Hi, I've included this fix in the upcoming release. I also googled your email in order to determine your name to credit you. thanks! -Kevin