summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-02-20 18:59:13 -0300
committerJoe Watkins <krakjoe@php.net>2018-02-22 08:11:30 +0100
commitb895690dfacfcc888ff3d652d9997557154ddf0a (patch)
treea799bb44fa9efad5a03a63e1e9de2c1e05e46347 /run-tests.php
parent230ef2d94774939f92128bcbbc54ffc046c2000e (diff)
downloadphp-git-b895690dfacfcc888ff3d652d9997557154ddf0a.tar.gz
remove support for string|unicode in tests
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php22
1 files changed, 1 insertions, 21 deletions
diff --git a/run-tests.php b/run-tests.php
index c17a235c1b..cbef1dc367 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -2077,27 +2077,7 @@ COMMAND $cmd
$startOffset = $end + 2;
}
$wanted_re = $temp;
-
- $wanted_re = str_replace(
- array('%binary_string_optional%'),
- 'string',
- $wanted_re
- );
- $wanted_re = str_replace(
- array('%unicode_string_optional%'),
- 'string',
- $wanted_re
- );
- $wanted_re = str_replace(
- array('%unicode\|string%', '%string\|unicode%'),
- 'string',
- $wanted_re
- );
- $wanted_re = str_replace(
- array('%u\|b%', '%b\|u%'),
- '',
- $wanted_re
- );
+
// Stick to basics
$wanted_re = str_replace('%e', '\\' . DIRECTORY_SEPARATOR, $wanted_re);
$wanted_re = str_replace('%s', '[^\r\n]+', $wanted_re);