Subject: | fails to install on Win32 |
The regex the regex in t/02-justworks.t is failing on Windows because it isn't correctly matching against windows line endings. I am attaching a change to the test which makes it work for me. Please consider this for inclusion in the next version, or if you have a better fix, I'd be happy to help test it for you.
Subject: | mojox-log4perl-winfix.diff |
diff --git a/t/02-justworks.t b/t/02-justworks.t
index 2d3a932..a25827a 100644
--- a/t/02-justworks.t
+++ b/t/02-justworks.t
@@ -30,7 +30,7 @@ my $content = Mojo::Asset::File->new(path => $path)->slurp;
like(
$content,
- qr/^\[DEBUG\] main:21 - Just works\.\n\[DEBUG\] main:22 - told ya!$/s,
+ qr/^\[DEBUG\] main:21 - Just works\.\015?\n\[DEBUG\] main:22 - told ya!\015?$/s,
'right content'
);