Re: tests - array_chunk, array_count_values, array_diff_key

From: Date: Tue, 23 May 2006 23:42:05 +0000
Subject: Re: tests - array_chunk, array_count_values, array_diff_key
References: 1 2 3  Groups: php.qa 
Request: Send a blank email to php-qa+get-26788@lists.php.net to get a copy of this message
Hello Ligaya, Monday, May 22, 2006, 12:20:01 AM, you wrote: > Antony Dovgal wrote: >> Committed (with minor modifications), thanks! >> >> On 19.05.2006 11:07, Ligaya Turmelle wrote: >> >>> >>> ------------------------------------------------------------------------ >>> >>> --TEST-- >>> basic array_chunk test >>> --INI-- >>> display_errors=0 >>> track_errors=1 >> >> >> Just curious: why did you need to suppress errors? >> >> I'm sure we'd like to test the error messages too and you can use >> --EXPECTF-- section for that (see your tests in CVS, that's basically >> what I changed there). >> > I asked how to handle the errors earlier in the week... That was how I > was "shown" to do it. Well, run-tests.php takes care for a bunch of ini settings. It's probably easiest if you check for that list in the test script. Easiy to find by searching for "display-errors" for instance. Also hava a look at: php run-tests.php -h Best regards, Marcus

« previous php.qa (#26788) next »