Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.5.5

Bug #14933 Unit tests fail
Submitted: 2008-10-31 18:37 UTC Modified: 2008-11-26 09:00 UTC
From: doconnor Assigned: doconnor
Status: Closed Package: Validate_ptBR (version CVS)
PHP Version: 5.2.4 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2008-10-31 18:37 UTC] doconnor (Daniel O'Connor)
Description: ------------ The current unit tests fail when run on CVS Test script: --------------- pear run-tests tests/ptBR.phpt Expected result: ---------------- Test passes Actual result: -------------- 143) /home/clockwerx/pear/Validate/tests/ptBR.phpt --- Expected +++ Actual @@ -4,12 +4,12 @@ 69990000: YES 69950000: YES 69983000: YES -69928000: YES -38412158: YES -45225000: YES -46865000: YES -46755000: YES -44920000: YES +69928000: YES +38412158: YES +45225000: YES +46865000: YES +46755000: YES +44920000: YES 69990 000: YES 69950 000: YES 69983 000: YES @@ -18,14 +18,14 @@ 45225 000: YES 46865 000: YES 46755 000: YES -44920 000: YES +44920 000: YES 38.412 158: YES 38.412158: YES 38412 158: YES 38412-158: YES 38.412-158: YES 69990-000: YES -69950-000: YES +69950-000: YES 69983-000: YES 69928-000: YES 38412-158: YES @@ -61,59 +61,59 @@ 46755-0200: NO 449203-000: NO Test phonenumber -3875-0987: YES -2875 0987: YES -28751987: YES -4175-0987: YES -5075-a987: NO -1875 098a: NO -8dy0 4985: NO -9844398x: NO -(467) 875-0987: NO -(467)-875-0987: NO -(467)875-0987: NO -(467) 875 0987: NO -(467)-875 0987: NO -(467)875 0987: NO -(467) 8750987: NO -(34)2875-0987: YES -(46)28750987: YES -(43)5323 0987: YES -46 4875 0987: YES -(55)3875 0987: YES -(11)87540987: YES -21 8725 0987: YES -11 28750987: YES -1128750987: YES -11-2875-0987: YES -(11)-2875-0987: YES -(11)2875-0987: YES -(11) 2875-0987: YES -(11)2875 0987: YES -(11) 28750987: YES -(11) 2875 0987: YES -(11)-2875 0987: YES -11s28750987: NO -11-2875- 0987: NO -(11)-28735-230987: NO -(11)2875-0sx987: NO -(11332875-0987: NO -(11) 32875 0987: NO -(11) 2875 0987: NO -(11) 2875- 0987: NO -(13)4175-0987: NO -(46)4075-0987: NO -(46)-fawe-0987: NO -(434)-8475-0987: NO -(11)9df3-0987: NO -11-3487-0987: NO -(4a7) 875-0987: NO -(467)-085-0987: NO -(467)87-0987: NO -(46e) t75 0987: NO -(313 535-8553: NO -(123) 456-78: NO -(517) 474-: NO +3875-0987 (7): YES +2875 0987 (7): YES +28751987 (7): YES +4175-0987 (7): YES +5075-a987 (7): NO +1875 098a (7): NO +8dy0 4985 (7): NO +9844398x (7): NO +(467) 875-0987 (7): NO +(467)-875-0987 (7): NO +(467)875-0987 (7): NO +(467) 875 0987 (7): NO +(467)-875 0987 (7): NO +(467)875 0987 (7): NO +(467) 8750987 (7): NO +(34)2875-0987 (10): YES +(46)28750987 (10): YES +(43)5323 0987 (10): YES +46 4875 0987 (10): YES +(55)3875 0987 (10): YES +(11)87540987 (10): YES +21 8725 0987 (10): YES +11 28750987 (10): YES +1128750987 (10): YES +11-2875-0987 (10): YES +(11)-2875-0987 (10): YES +(11)2875-0987 (10): YES +(11) 2875-0987 (10): YES +(11)2875 0987 (10): YES +(11) 28750987 (10): YES +(11) 2875 0987 (10): YES +(11)-2875 0987 (10): YES +11s28750987 (10): NO +11-2875- 0987 (10): NO +(11)-28735-230987 (10): NO +(11)2875-0sx987 (10): NO +(11332875-0987 (10): NO +(11) 32875 0987 (10): NO +(11) 2875 0987 (10): NO +(11) 2875- 0987 (10): NO +(13)4175-0987 (7): NO +(46)4075-0987 (7): NO +(46)-fawe-0987 (7): NO +(434)-8475-0987 (7): NO +(11)9df3-0987 (7): NO +11-3487-0987 (7): NO +(4a7) 875-0987 (10): NO +(467)-085-0987 (10): NO +(467)87-0987 (10): NO +(46e) t75 0987 (10): NO +(313 535-8553 (10): NO +(123) 456-78 (10): NO +(517) 474- (10): NO Test region MG: YES SP: YES @@ -125,28 +125,28 @@ SPS: NO NL: NO Test cpf -32181248400: YES -05508262628: YES -05036880617: YES -05074718651: YES -05911327619: YES -06476719645: YES -03707212688: YES -928492372z-: NO -x3523652336: NO -00000000000: NO -11111111111: NO -22222222222: NO -33333333333: NO -44444444444: NO -55555555555: NO -66666666666: NO -77777777777: NO -88888888888: NO -99999999999: NO +NL: YES +NL: YES +NL: YES +NL: YES +NL: YES +NL: YES +NL: YES +NL: NO +NL: NO +NL: NO +NL: NO +NL: NO +NL: NO +NL: NO +NL: NO +NL: NO +NL: NO +NL: NO +NL: NO Test cnpj -17855473000173: YES -36851287000100: YES -25786291000116: YES -17570358000152: YES -0546sd42226683: NO \ No newline at end of file +NL: YES +NL: YES +NL: YES +NL: YES +NL: NO \ No newline at end of file

Comments

 [2008-11-26 08:59 UTC] doconnor (Daniel O'Connor)
Ah neat, Silvano already gave the OK to make changes (albiet a year ago) http://thread.gmane.org/gmane.comp.php.pear.devel/43214/focus=43220
 [2008-11-26 09:00 UTC] doconnor (Daniel O'Connor)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.