Re: DBD::mysql patch for take_imp_data based threading

Patrick Galbraith <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
Tim,

Thanks much! I was passing as $testname an old error handling function 
that returned a boolean.

I'm trying to convert all the tests to using Test::More, which is a bit 
of work, but will be worth it.

--Patrick

Tim Bunce wrote:

>On Sun, Apr 27, 2008 at 12:39:02PM -0400, Patrick Galbraith wrote:
>  
>
>>t/70takeimp....ok 1/21#     You named your test '1'.  You shouldn't use 
>>numbers for your test names.
>>
>>"You named your test 1"   Strage error. I know it's probably something 
>>simple and easy - has anyone a suggestion how I might get rid of this 
>>error? I look at how I'm running this and everything looks good.
>>    
>>
>
>Test::More has an API like
>
>    ok( $boolean, $testname )
>    is( $x, $y, $testname )
>
>so there's probably a test like
>
>    ok( ..., 1 )
>
>where the 1 should now be a test 'name,' like "the wibble should wobble".
>
>Tim.
>  
>


-- 
Patrick Galbraith, Senior Programmer 
Grazr - Easy feed grazing and sharing
http://www.grazr.com 

Satyam Eva Jayate - Truth Alone Triumphs
Mundaka Upanishad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.