bjori Thu Sep 28 12:01:52 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/xsl/tests xslt010.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/xsl/tests/xslt010.phpt?r1=1.1&r2=1.1.6.1&diff_format=u
Index: php-src/ext/xsl/tests/xslt010.phpt
diff -u php-src/ext/xsl/tests/xslt010.phpt:1.1
php-src/ext/xsl/tests/xslt010.phpt:1.1.6.1
--- php-src/ext/xsl/tests/xslt010.phpt:1.1 Fri Nov 21 12:22:48 2003
+++ php-src/ext/xsl/tests/xslt010.phpt Thu Sep 28 12:01:52 2006
@@ -3,7 +3,9 @@
--SKIPIF--
<?php require_once('skipif.inc');
$proc = new xsltprocessor;
-if (!$proc->hasExsltSupport()) die('skip EXSLT support not available');?>
+if (!$proc->hasExsltSupport()) die('skip EXSLT support not available');
+if (LIBXSLT_VERSION < 10117) die('skip too old libxsl');
+?>
--FILE--
<?php
echo "Test 10: EXSLT Support";
@@ -63,7 +65,7 @@
month-in-year : 2
month-name : February
month-abbreviation : Feb
- week-in-year : 8
+ week-in-year : 9
day-in-year : 60
day-in-month : 29
day-of-week-in-month : 5
@@ -99,7 +101,7 @@
month-in-year : 2
month-name : February
month-abbreviation : Feb
- week-in-year : 9
+ week-in-year : 10
day-in-year : 60
day-in-month : 29
day-of-week-in-month : 5
@@ -110,3 +112,4 @@
hour-in-day : NaN
minute-in-hour : NaN
second-in-minute : NaN
+
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php