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

[perl #128574] Some tests call fresh_perl* incorrectly

Thread Previous
From:
Dan Collins
Date:
July 8, 2016 04:07
Subject:
[perl #128574] Some tests call fresh_perl* incorrectly
Message ID:
rt-4.0.18-30189-1467950814-1920.128574-75-0@perl.org
# New Ticket Created by  Dan Collins 
# Please include the string:  [perl #128574]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128574 >


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.

-- 
Respectfully,
Dan Collins


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About