Re: UEXPECTF is gone: any way to write "portable" tests?

From: Date: Wed, 23 Jul 2008 12:31:39 +0000
Subject: Re: UEXPECTF is gone: any way to write "portable" tests?
References: 1 2 3  Groups: php.qa 
Request: Send a blank email to php-qa+get-64393@lists.php.net to get a copy of this message
Hi Ulf, Am Mittwoch, den 23.07.2008, 14:27 +0200 schrieb Ulf Wendel: [...] > Georg once used %s(3) "PHP". I'm guilty of doing that too, but you are right it is too error-prone. > I did not like that as it does match both > string(3) "PHP" and unicode(3) "PHP": no way to detect a bug. > As long as "%string/unicode%" gets evaluated as "unicode" under PHP 6 and > as > "string" under PHP 5, I'm fine with the change. OK, fine. I have currently no time implementing it, do you? > It still means that I have to go through some tests which use UEXPECTF, > but I understand the readability argument. That should be scriptable as you do a diff of the EXPECT/UEXPECT section, fine the differing lines, and replace them accordingly. So no big deal. cu, Lars

Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
« previous php.qa (#64393) next »