shlomif / perl-html-strip-whitespace

MIT License
1 stars 0 forks source link

Downgrading a use VERSION declaration to below v5.11 is not permitted #2

Open eserte opened 1 week ago

eserte commented 1 week ago

The test suite fails with perl 5.40.0 and 5.41.x:

#   Failed test 'HTML/Strip/Whitespace.pm loaded ok'
#   at t/00-compile.t line 43.
#          got: '65280'
#     expected: '0'
Downgrading a use VERSION declaration to below v5.11 is not permitted at /home/cpansand/.cpan/build/2024101806/HTML-Strip-Whitespace-0.2.2-1/blib/lib/HTML/Strip/Whitespace.pm line 183.
Compilation failed in require at -e line 1.
# Looks like you failed 1 test of 1.
t/00-compile.t ............. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

#   Failed test 'use HTML::Strip::Whitespace;'
#   at t/HTML-Strip-Whitespace.t line 12.
#     Tried to use 'HTML::Strip::Whitespace'.
#     Error:  Downgrading a use VERSION declaration to below v5.11 is not permitted at /home/cpansand/.cpan/build/2024101806/HTML-Strip-Whitespace-0.2.2-1/blib/lib/HTML/Strip/Whitespace.pm line 183.
# Compilation failed in require at t/HTML-Strip-Whitespace.t line 12.
# BEGIN failed--compilation aborted at t/HTML-Strip-Whitespace.t line 12.
Undefined subroutine &main::html_strip_whitespace called at t/HTML-Strip-Whitespace.t line 19.
# Looks like your test exited with 255 just after 1.
t/HTML-Strip-Whitespace.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/5 subtests 
shlomif commented 1 week ago

hi, please try with v0.2.3.