in reply to Re: Inverting test conditions in Test::More ?
in thread Inverting test conditions in Test::More ?
> Looks like you could easily use Test::More::_deep_check
that's an internal function, Test::More provides explain() for serialization within the regular API
see also eq_array() and eq_hash() but "they may be deprecated in future versions."
> If you can ensure consistent/ordered serialization in the case of your structures being hash refs
Please note that the order of hash-keys within the same Perl run is guarantied to be stable.
Furthermore is explain() ordering hash-keys alphabetically AFAICT.
( Data::Dump too IIRC )
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery