Hi, I was directed here from kingpong/perl-Test-Spec#43 where we discussed improving reporting of differences in Test::Spec.
Would it be possible to improve the difference reporting when the compared objects differ? In case number of their elements matches, the diff is shown, but not otherwise:
got : array with 5 element(s)
expect : array with 6 element(s)
vs.
Compared $data->[0][4]
got : 'foo-downloaded-content'
expect : 'foo-downloaded-contenta'
The first case does not help much to understand what's wrong.
Hi, I was directed here from kingpong/perl-Test-Spec#43 where we discussed improving reporting of differences in Test::Spec.
Would it be possible to improve the difference reporting when the compared objects differ? In case number of their elements matches, the diff is shown, but not otherwise:
vs.
The first case does not help much to understand what's wrong.