summaryrefslogtreecommitdiff
path: root/devel/p5-Test-Deep
AgeCommit message (Collapse)AuthorFilesLines
2008-10-19Bump the PKGREVISION for all packages which depend directly on perl,he1-1/+2
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
2008-07-15- updated to 0.103rhaen2-9/+7
- took maintainership - Makefile cleanup Changelog: 0.103 Detect whether isa() is being called with 1 or 2 arguments and dispatch to the correct function. This is hacky but fixes the problem of clashing with UNIVERSAL::isa(). 0.102 Behave well when a code comparator doesn't give diagnostics. Thanks to Alex Kapranoff.
2008-05-28Updated devel/Test-Deep to 0.101abs2-6/+8
0.101 Fix an overloading problem with All and Any. Thanks to Kostas Chatzikokolakis for reporting the bug and especially for explaining how to fix it :) Added a nasty hack to smooth over a problem in Test::Tester. 0.100 Apply patch from Andreas Koenig (ANDK) to cope with Perl 5.11's new REGEXP objects. 0.099 Don't explode on perl's that don't have weakrefs. If they're not available, just don't weaken the refs. It means refs can be cached for longer than desirable but it's better than explodiing. This doesn't fix all of te problems with perl 5.005 but I'm pushing it out because the previous version number upsets CPAN.pm. 0.098 Cleaned up Test::Deep::NoTest by making it call Test::Deep's import, that way it will always be in sync for exports. Also added some POD docs. Added notest_extra.t to check that things are correctly exported and working. Add cmp_details but left it undocumented. It manages localising the stack etc. Factored eq_deeply and cmp_deeply through that. This meant adding an icky hack into deep_diag. I should clean that whole thing up. Remove $name from params of eq_deeply, in code and docs, it was unused. 0.097 Fixed doc typo for re(). Fix diagnostics for code(), it was always printing undef instead of the got value.
2007-10-25Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mkjlam1-1/+0
can handle packages having no PLIST files.
2006-10-28Update p5-Test-Deep to 0.096.obache2-6/+6
Changes: 0.096 %WrapCache was keeping references to external data. It's now local()ised at the start of a comparison just like the other caches (why I didn't do that when I added it, I don't know). Thanks to Matthijs Bomhoff for reporting the problem. 0.095 Docs and code didn't match, useclass was actually requireclass, available as both now 0.094 Changed Set and Bag to no longer issue warnings when undefs are present. Needed to make the sort and the diagnotics undef-aware. Thanks to Colin Kuskie for pointing this out. Added tests for this. 0.093 Fixed inifinte recursion when adding comparators into bags. That whole area is unpleasant - conceptually as well as implementation-wise. Comparators no longer inherit a compare method, so we only call the specialised compare if it exists, otherwise we just do normal deep comparison. Removed a debugging print.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2005-11-23Initial import of p5-Test-Deep:wiz4-0/+40
Test::Deep gives you very flexible ways to check that the result you got is the result you were expecting. At its simplest it compares two structures by going through each level, ensuring that the values match, that arrays and hashes have the same elements and that references are blessed into the correct class. It also handles circular data structures without getting caught in an infinite loop. Where it becomes more interesting is in allowing you to do something besides simple exact comparisons. With strings, the = operator checks that 2 strings are exactly equal but sometimes that's not what you want. When you don't know exactly what the string should be but you do know some things about how it should look, = is no good and you must use pattern matching instead. Test::Deep provides pattern matching for complex data structures.