houseabsolute / Params-ValidationCompiler

Build an optimized subroutine parameter validator once, use it forever
https://metacpan.org/release/Params-ValidationCompiler/
Other
4 stars 5 forks source link

test fails under stravberry perl #20

Closed zdm closed 6 years ago

zdm commented 6 years ago

hi. here is the log:

t/00-report-prereqs.t .... ok
t/default.t .............. ok
t/exceptions.t ...........
# Failed test 'exception includes stack trace'
# at t/exceptions.t line 19.
t/exceptions.t ........... 1/? # +--------------------------------+----+--------------------------------+
# | GOT                            | OP | CHECK                          |
# +--------------------------------+----+--------------------------------+
# | Got 1 extra parameter for test | =~ | (?^s:Got 1 extra parameter for |
# |  validator\n                   |    |  test validator.+called at t/e |
# | \n                             |    | xceptions\.t line \d+)         |
# | Trace begun at (eval 170) line |    |                                |
# |  19\n                          |    |                                |
# | main::test validator('foo', 'b |    |                                |
# | ar') called at t\exceptions.t  |    |                                |
# | line 18\n                      |    |                                |
# | main::__ANON__ at D:\devel\per |    |                                |
# | l\perl\site\lib\Test2\Tools\Ex |    |                                |
# | ception.pm line 15\n           |    |                                |
# | eval {...} at D:\devel\perl\pe |    |                                |
# | rl\site\lib\Test2\Tools\Except |    |                                |
# | ion.pm line 15\n               |    |                                |
# | Test2::Tools::Exception::dies( |    |                                |
# | 'CODE(0x2f59c90)') called at t |    |                                |
# | \exceptions.t line 19\n        |    |                                |
# +--------------------------------+----+--------------------------------+
# Seeded srand with seed '20171128' from local date.
t/exceptions.t ........... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/moose.t ................ skipped: Module 'Moose::Util::TypeConstraints' is not installed
t/name-fails.t ........... ok
t/name.t ................. ok
autarch commented 6 years ago

Thanks! Fixed in 0.26.