Re: eq_array testing values prematurely...

2005-02-08 Thread Michael G Schwern
On Tue, Feb 08, 2005 at 06:58:15AM +, Fergal Daly wrote: It seems to me that that would just hide other problems. This function is for comparing 2 arrays and if neither of them things passed in are actually arrays then it's quite right to issue a warning. Test::More is designed to handle

eq_array testing values prematurely...

2005-02-07 Thread leif . eriksen
I've written some coverage tests for Ima::DBI as part of Phalanx, but I get a warning under -W promptHARNESS_PERL_SWITCHES=-W make test And got these warnings [EMAIL PROTECTED] Ima-DBI-0.33]$ HARNESS_PERL_SWITCHES=-W make test PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e

Re: eq_array testing values prematurely...

2005-02-07 Thread Fergal Daly
It seems to me that that would just hide other problems. This function is for comparing 2 arrays and if neither of them things passed in are actually arrays then it's quite right to issue a warning. Why is this test passing undef into both arguments of eq_array? Fergal On Tue, Feb 08, 2005 at