mschilli / log4perl

Log4j Implementation For Perl
http://log4perl.com
Other
116 stars 66 forks source link

Log::Log4perl won't build for Strawberry Perl 5.30: Failed Tests #101

Closed jacoby closed 3 years ago

jacoby commented 3 years ago

Tried using cpanm.

t/025CustLevels.t ......... ok

#   Failed test 'header_text'
#   at t/026FileApp.t line 459.
#          got: 'This is a nice header.
# This is a nice header.
# DEBUG - waah!
# '
#     expected: 'This is a nice header.
# DEBUG - waah!
# '
# Looks like you failed 1 test of 27.
t/026FileApp.t ............ 

Seems like a place where I'd be safe to use --force so low urgency. The line in question seems to be

is($content, "This is a nice header.\nDEBUG - waah!\n", "header_text");

So it's likely a \n vs \r\n thing.

mohawk2 commented 3 years ago

It's not. See #100.

mohawk2 commented 3 years ago

Fixed in above.