Subject: | Tests fail (with Plack 1.0041?) |
On some of my smoker machines the test suite fails:
Use of uninitialized value in pattern match (m//) at /home/cpansand/.cpan/build/2016092806/Plack-Middleware-Debug-Notepad-0.10-JXoWUq/blib/lib/Plack/Middleware/Debug/Notepad.pm line 25.
Use of uninitialized value $md in print at /home/cpansand/.cpan/build/2016092806/Plack-Middleware-Debug-Notepad-0.10-JXoWUq/blib/lib/Plack/Middleware/Debug/Notepad.pm line 142.
Use of uninitialized value $text in substitution (s///) at /usr/perl5.18.4p/lib/site_perl/5.18.4/Text/Markdown.pm line 270.
Use of uninitialized value $text in substitution (s///) at /usr/perl5.18.4p/lib/site_perl/5.18.4/Text/Markdown.pm line 271.
# Failed test 'correct html returned'
# at t/Notepad.t line 83.
# got: '
# '
# expected: '<h1>this</h1>
#
# <h2>is just</h2>
#
# <h3>a test</h3>
# '
# Failed test 'markdown correctly saved'
#
# at t/Notepad.t line 89.
#
# got: ''
# expected: '# this
# ## is just
# ### a test
# '
#
# Failed test 'markdown correctly saved and retrieved'
#
# at t/Notepad.t line 92.
#
# got: ''
# expected: '# this
# ## is just
# ### a test
# '
#
# Looks like you failed 3 tests of 25.
t/Notepad.t ..
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/25 subtests
Statistical analysis suggests that this happens with newer Plack versions (negative theta means "bad"):
****************************************************************
Regression 'mod:Plack'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 48575674972777040.00
[1='eq_1.0039'] 0.0000 0.0000 5.30
[2='eq_1.0041'] -1.0000 0.0000 -46928560448730496.00
R^2= 1.000, N= 44, K= 3
****************************************************************