xslate / p5-Mouse

Lightweight class builder for Perl, as a subset of Moose
https://metacpan.org/release/Mouse
Other
46 stars 32 forks source link

If Test::Deep is available, it needs to be 'Test::Deep' => '0.117', #117

Closed sjn closed 1 year ago

sjn commented 1 year ago

Maybe add

'Test::Deep' => '0.117',

to test_requires in Build.PL? If 0.116 is installed, t/200_examples/005_example_w_TestDeep.t fails like this:

t/200_examples/005_example_w_TestDeep.t ........................ 1/5 
#   Failed test '... construction succeeded'
#   at t/200_examples/005_example_w_TestDeep.t line 65.
# died: Undefined subroutine &Foo::eq_deeply called at t/200_examples/005_example_w_TestDeep.t line 38.

#   Failed test 'undef isa 'Foo''
#   at t/200_examples/005_example_w_TestDeep.t line 66.
#     undef isn't defined
Can't call method "bar" on an undefined value at t/200_examples/005_example_w_TestDeep.t line 68.
# Looks like your test exited with 255 just after 2.
t/200_examples/005_example_w_TestDeep.t ........................ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/5 subtests