diff options
author | Hannes Magnusson <bjori@php.net> | 2006-09-28 12:01:52 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2006-09-28 12:01:52 +0000 |
commit | a327a6f73720b2e64debf3e547c14e0a0825e0ef (patch) | |
tree | 63695248b807c61854e67aaae4d0b8a21ea238be /ext/xsl/tests | |
parent | c119d63a9fd32d350e64ba9d5e865b4708dc487c (diff) | |
download | php-git-a327a6f73720b2e64debf3e547c14e0a0825e0ef.tar.gz |
fix test
Diffstat (limited to 'ext/xsl/tests')
-rw-r--r-- | ext/xsl/tests/xslt010.phpt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/xsl/tests/xslt010.phpt b/ext/xsl/tests/xslt010.phpt index 7c46d030f4..1ac1a493c7 100644 --- a/ext/xsl/tests/xslt010.phpt +++ b/ext/xsl/tests/xslt010.phpt @@ -3,7 +3,9 @@ Test 10: EXSLT Support --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 @@ Test 10: EXSLT Support 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 @@ Test 10: EXSLT Support 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 @@ Test 10: EXSLT Support hour-in-day : NaN minute-in-hour : NaN second-in-minute : NaN + |