|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: Regression test with nested data structures -- Or how to use Test::Deep?by ELISHEVA (Prior) |
| on Oct 18, 2012 at 13:31 UTC ( #999735=note: print w/ replies, xml ) | Need Help?? |
|
I haven't tried this myself, but looking at the docs, another possibility would be to use num($number, $tolerance) to test the time field. If you set the time tolerance wide enough, then you should be able to pass a test on that field without having to pre-filter the hash and remove the timestamp key.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||