Re: Test::Builder bug

2002-03-30 Thread Dave Rolsky
On Sat, 30 Mar 2002, Michael G Schwern wrote: > Doesn't seem to have any effect on the code above, but it does have an > effect on this: > > $ perl -Ilib -MTest::Builder -e '$tb=Test::Builder->new; $tb->plan('no_plan'); >$tb->current_test(10)' > Modification of non-creatable array value attempte

Re: Test::Builder bug

2002-03-30 Thread Michael G Schwern
t it should not think its an internal inconsistency caused by a Test::Builder bug. Simplest thing to do would be for current_test to disallow you from changing it unless you have a plan, like ok() does... $ perl -Ilib -MTest::Builder -e 'Test::Builder->new->current_test(10)' Can'

Test::Builder bug

2002-03-30 Thread Dave Rolsky
The changelog says this: 0.42 Wed Mar 6 15:00:24 EST 2002 - Setting Test::Builder->current_test() now works (see what happens when you forget to test things?) But if I do this: perl -MTest::Builder -e 'Test::Builder->new->current_test(10)' it still blows chunks. Patch below. ho