cvs: pear-core /tests/PEAR_PackageFile_v2_Validator test_noversion.phpt
| From: | Greg Beaver | Date: | Sun, 19 Nov 2006 23:47:29 +0000 |
| Subject: | cvs: pear-core /tests/PEAR_PackageFile_v2_Validator test_noversion.phpt | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5198@lists.php.net to get a copy of this message | ||
cellog Sun Nov 19 23:47:29 2006 UTC
Modified files:
/pear-core/tests/PEAR_PackageFile_v2_Validator test_noversion.phpt
Log:
fix test to match current behavior
http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_PackageFile_v2_Validator/test_noversion.phpt?r1=1.2&r2=1.3&diff_format=u
Index: pear-core/tests/PEAR_PackageFile_v2_Validator/test_noversion.phpt
diff -u pear-core/tests/PEAR_PackageFile_v2_Validator/test_noversion.phpt:1.2
pear-core/tests/PEAR_PackageFile_v2_Validator/test_noversion.phpt:1.3
--- pear-core/tests/PEAR_PackageFile_v2_Validator/test_noversion.phpt:1.2 Fri Feb 3 04:05:53 2006
+++ pear-core/tests/PEAR_PackageFile_v2_Validator/test_noversion.phpt Sun Nov 19 23:47:28 2006
@@ -15,7 +15,7 @@
$phpunit->assertIsa('PEAR_PackageFile_v2', $pf, 'ret');
$pf->validate();
$phpunit->assertErrors(array(
- array('package' => 'PEAR_PackageFile_v2', 'message' =>
'Invalid tag order in <package>, found <stability> expected one of "time,
version"'),
+ array('package' => 'PEAR_PackageFile_v2', 'message' =>
'Invalid tag order in <package>, found <license> expected one of
"stability"'),
), 'no version');
echo 'tests done';
?>