develooper Front page | perl.perl5.porters | Postings from August 2012

[perl #114532] Refactor t/op/arith.t to not make TAP by hand

Thread Previous
From:
Colin Kuskie via RT
Date:
August 22, 2012 09:43
Subject:
[perl #114532] Refactor t/op/arith.t to not make TAP by hand
Message ID:
rt-3.6.HEAD-11172-1345653820-897.114532-15-0@perl.org
The push and pull tests do that.  In those cases, the TAP creation should 
be centralized.  In those cases, it would be nice to encapsulate the TAP 
creation in one sub, instead of smearing it throughout the file.

In this case, t/op/arith.t, there is a conflict with abs() since test.pl's 
within() uses it, but arith.t's original tryeq_sloppy did too.

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=114532

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