cvs: pear-core /tests/PEAR_RunTest test_bug9971.phpt
| From: | Greg Beaver | Date: | Sat, 17 Feb 2007 05:29:01 +0000 |
| Subject: | cvs: pear-core /tests/PEAR_RunTest test_bug9971.phpt | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5433@lists.php.net to get a copy of this message | ||
cellog Sat Feb 17 05:29:01 2007 UTC
Modified files:
/pear-core/tests/PEAR_RunTest test_bug9971.phpt
Log:
with new --FAIL-- section, bug9971.phpt now passes
http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_RunTest/test_bug9971.phpt?r1=1.1&r2=1.2&diff_format=u
Index: pear-core/tests/PEAR_RunTest/test_bug9971.phpt
diff -u pear-core/tests/PEAR_RunTest/test_bug9971.phpt:1.1
pear-core/tests/PEAR_RunTest/test_bug9971.phpt:1.2
--- pear-core/tests/PEAR_RunTest/test_bug9971.phpt:1.1 Wed Feb 14 06:09:17 2007
+++ pear-core/tests/PEAR_RunTest/test_bug9971.phpt Sat Feb 17 05:29:00 2007
@@ -1,5 +1,5 @@
--TEST--
-PEAR_RunTest improve diff of failing EXPECTF test [SHOULD FAIL]
+PEAR_RunTest improve diff of failing EXPECTF test
--SKIPIF--
<?php
if (!getenv('PHP_PEAR_RUNTESTS')) {
@@ -12,12 +12,12 @@
echo "oops123\n";
echo "oops\n";
echo "hi\n";
-// bug9971.diff should contain:
-// -002: hi%d
-// +002: oops123
-// -003: oops%d
-// +003: oops
?>
+--FAIL--
+002- hi%d
+002+ oops123
+003- oops%d
+003+ oops
--EXPECTF--
hi%d
hi%d