]> granicus.if.org Git - php/commitdiff
Remove obsolete version checks in tests
authorAnatol Belski <ab@php.net>
Fri, 22 Jun 2018 15:56:18 +0000 (17:56 +0200)
committerAnatol Belski <ab@php.net>
Fri, 22 Jun 2018 15:56:18 +0000 (17:56 +0200)
ext/pcre/tests/bug52971.phpt
ext/pcre/tests/bug70232.phpt
ext/pcre/tests/marks.phpt

index 552c97e357bcc0beb3c9d1e879b9865f038f370c..8d9e1375f2d7d1b08ff9f177c66a6c81447b8603 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #52971 (PCRE-Meta-Characters not working with utf-8)
---SKIPIF--
-<?php if ((double)PCRE_VERSION < 8.1) die('skip PCRE_VERSION >= 8.1 is required!'); ?>
 --FILE--
 <?php
 
index f421e9c43d76562f3ebc8308ab4d2c927d9025e6..2517e44ac9be06d49eca57c2f395c7fae60e9cc4 100644 (file)
@@ -1,11 +1,5 @@
 --TEST--
 Bug #70232 (Incorrect bump-along behavior with \K and empty string match)
---SKIPIF--
-<?php
-if (version_compare(explode(' ', PCRE_VERSION)[0], '8.0', 'lt')) {
-    die("skip this test requires libpcre >= 8.0");
-}
-?>
 --FILE--
 <?php
 $pattern = '~(?: |\G)\d\B\K~';
index 1ff33e96e785e79a176bc7563bcd42ff31c995bf..2a410834c61b8986942f1cf3027f21882bbcf3d8 100644 (file)
@@ -1,11 +1,5 @@
 --TEST--
 Test support for PCRE marks
---SKIPIF--
-<?php
-if (version_compare(PCRE_VERSION, '8.1', '<')) {
-    die('skip PCRE_VERSION >= 8.1 is required for MARK support');
-}
-?>
 --FILE--
 <?php