Skip Menu |

This queue is for tickets about the Mojolicious-Plugin-Iconify CPAN distribution.

Report information
The Basics
Id: 131364
Status: resolved
Priority: 0/
Queue: Mojolicious-Plugin-Iconify

People
Owner: GDT [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.00
Fixed in: 1.02



Subject: t/iconify.t fails (with older Mojolicious?) (1.01)
t/iconify.t fails on some of my smokers: ... # Failed test '200 OK' # at t/iconify.t line 10. # got: '500' # expected: '200' # Failed test 'content is similar' # at t/iconify.t line 10. # '<!DOCTYPE html> ... # ' # doesn't match '(?^:<span class="iconify" data-icon="logos:perl"></span>)' # Failed test '200 OK' # at t/iconify.t line 13. # got: '500' # expected: '200' # Failed test 'element for selector "[data-icon]" exists' # at t/iconify.t line 13. # Failed test 'element for selector "[data-height]" exists' # at t/iconify.t line 13. # Failed test 'element for selector "[data-width]" exists' # at t/iconify.t line 13. # Failed test '200 OK' # at t/iconify.t line 17. # got: '500' # expected: '200' # Failed test 'element for selector "\#perl-logo" exists' # at t/iconify.t line 17. # Failed test 'element for selector "[data-icon]" exists' # at t/iconify.t line 17. # Looks like you failed 9 tests of 12. t/iconify.t .. Dubious, test returned 9 (wstat 2304, 0x900) Failed 9/12 subtests Statistical analysis suggests that this happens with older Mojolicious (maybe for versions < 8?): **************************************************************** Regression 'mod:Mojolicious' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.0000 0.0000 4.99 [1='eq_6.64'] -0.0000 0.0000 -1.77 [2='eq_7.05'] 0.0000 0.0000 0.00 [3='eq_7.18'] 0.0000 0.0000 5.30 [4='eq_7.55'] -0.0000 0.0000 -3.53 [5='eq_8.27'] 1.0000 0.0000 43057251518470856.00 [6='eq_8.28'] 1.0000 0.0000 42067297315147360.00 [7='eq_8.29'] 1.0000 0.0000 43833120266117808.00 R^2= 1.000, N= 42, K= 8 ****************************************************************
Fixed in 1.02. Changed minimum Mojolicious version required (>= 7.93) in Makefile.PL. Thank you for your analysis. Regards, GDT