[TYPO3-core] RFC # 15029: Testcase for t3lib_div::isFirstPartOfStr is missing.

Nikolas Hagelstein lists at shr-now.de
Wed Jul 7 16:22:56 CEST 2010


Hi,

> this is exactly what tests are good for ;) It was never tested this
> way,
> so for any change on function the tests are good.
> 
> Imho both should return false because no string, so let them fail ;)
Indeed !.

I added some more comparisons that should fail imho but don't atm.

Version 3 attached...

Cheers,
Nikolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3lib_divTest.php_15029_3.patch
Type: application/octet-stream
Size: 2692 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100707/b5ca884c/attachment.obj>


More information about the TYPO3-team-core mailing list