develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #128574] Some tests call fresh_perl* incorrectly

Thread Previous
Dan Collins
July 8, 2016 04:07
[perl #128574] Some tests call fresh_perl* incorrectly
Message ID:
# New Ticket Created by  Dan Collins 
# Please include the string:  [perl #128574]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This is mostly a TODO for myself, but some tests call fresh_perl{,_is,_like} without the third "args" argument, and instead as fresh_perl_is($code, $expected, $name). This results in the test "name" not being passed properly, since the third argument is supposed to be a hashref. 

I'll probably either grep for them or temporarily instrument fresh_perl to fail if it looks like the third argument is a string.

Dan Collins

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About