Re: cvs: php-src /ext/standard/tests/strings strcspn_basic.phpt

From: Date: Tue, 02 Oct 2007 11:20:32 +0000
Subject: Re: cvs: php-src /ext/standard/tests/strings strcspn_basic.phpt
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-46422@lists.php.net to get a copy of this message
Raghubansh, you should really try to debug one of your tests. Here is an example for you: ext/standard/tests/strings/strcspn_variation10.phpt See the diff below. Why does it fail? Can you quickly locate the data which demonstrates the problem? Line 100? Which $string is that? And which $mask_array? The diff is completely useless, the test itself is close to that too. It should help us to find the problem, but currently it makes the process even more complicated. 100+ int(12) 101+ int(12) 100- int(5) 101- int(5) 124+ int(2) 125+ int(2) 124- int(0) 125- int(0) 136+ int(13) 137+ int(13) 136- int(0) 137- int(0) 148+ int(14) 149+ int(14) 148- int(0) 149- int(0) 160+ int(11) 161+ int(11) 160- int(5) 161- int(5) 172+ int(11) 173+ int(11) 172- int(5) 173- int(5) 184+ int(14) 185+ int(14) 184- int(5) 185- int(5) -- Wbr, Antony Dovgal

« previous php.cvs (#46422) next »