Subject: | Test failures due to Dancer deprecation |
With Dancer version 1.3093:
t/01-collect.t ....... 1/35
# Failed test 'no warnings'
# at /Users/sprout/.cpan/build/Test-NoWarnings-1.04-
7GrYsK/blib/lib/Test/NoWarnings.pm line 45.
# There were 1 warning(s)
# Previous test 0 ''
# Dancer::before has been deprecated since version 1.3080. use hooks! at
/Users/sprout/.cpan/build/Dancer-1.3093-h_maGT/blib/lib/Dancer.pm line 118
# at /Users/sprout/.cpan/build/Dancer-1.3093-h_maGT/blib/lib/Dancer/Deprecation.pm
line 30
# Dancer::Deprecation::deprecated('Dancer::Deprecation', 'reason', 'use hooks!', 'version',
1.3080, 'fatal', 0) called at /Users/sprout/.cpan/build/Dancer-1.3093-
h_maGT/blib/lib/Dancer.pm line 118
# Dancer::before('CODE(0xcf26f0)') called at /Users/sprout/.cpan/build/CPAN-Digger-
0.02-WAqdA9/blib/lib/CPAN/Digger/WWW.pm line 49
# require CPAN/Digger/WWW.pm called at t/01-collect.t line 383
# main::BEGIN() called at /Users/sprout/.cpan/build/CPAN-Digger-0.02-
WAqdA9/blib/lib/CPAN/Digger/WWW.pm line 0
# eval {...} called at /Users/sprout/.cpan/build/CPAN-Digger-0.02-
WAqdA9/blib/lib/CPAN/Digger/WWW.pm line 0
#
# Looks like you planned 35 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 2 just after 1.
t/01-collect.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 35/35 subtests