On 7/19/06, Michael G Schwern <[EMAIL PROTECTED]> wrote:
On 7/17/06, demerphq <[EMAIL PROTECTED]> wrote:
> > Well, if the test passes, there's no need to know where exactly it's
> > located. If it fails, the diagnostics contain the line number:
> >
> > not ok 6
> > # Failed test in t/xxx.t at line 26.
> >
> > I've never seen incorrect line numbers.
>
> I have. Lots and lots and lots of times. I could do a survey but IMO
> it would be a waste of time.
BUG REPORT PLZ K THNX!!!!111!!!!111!
If you don't tell people their shit is broke it doesn't get fixed.
Excuse me? Where did I say the code was "broken"?
In fact I specifically said it WASN'T BROKEN.
Read the below, then go back and reread what I wrote. Try and pay
attention this time ok?
use Test::More tests => 3;
sub my_ok {
ok($_[0],$_[1]);
}
my_ok(0,"here");
my_ok(0,"there");
my_ok(0,"everywhere");
__END__
1..3
not ok 1 - here
# Failed test 'here'
# in c:\tmp\tmore.pl at line 4.
not ok 2 - there
# Failed test 'there'
# in c:\tmp\tmore.pl at line 4.
not ok 3 - everywhere
# Failed test 'everywhere'
# in c:\tmp\tmore.pl at line 4.
# Looks like you failed 3 tests of 3.
--
perl -Mre=debug -e "/just|another|perl|hacker/"