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

[perl #128574] Some tests call fresh_perl* incorrectly

Thread Previous | Thread Next
Tony Cook via RT
July 11, 2016 00:57
[perl #128574] Some tests call fresh_perl* incorrectly
Message ID:
On Thu Jul 07 21:06:54 2016, wrote:
> 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.

It's probably better to have fresh_perl.*() always fail when the third argument is a string, to prevent future changes re-introducing the problem.


via perlbug:  queue: perl5 status: new

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