summaryrefslogtreecommitdiff
path: root/scripts/dev/bless_tests.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dev/bless_tests.php')
-rwxr-xr-xscripts/dev/bless_tests.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/dev/bless_tests.php b/scripts/dev/bless_tests.php
index 25a4843c07..fbbfe505c9 100755
--- a/scripts/dev/bless_tests.php
+++ b/scripts/dev/bless_tests.php
@@ -54,6 +54,10 @@ function normalizeOutput(string $out): string {
$out = preg_replace('/^#(\d+) \/.+\(\d+\):/m', '#$1 %s(%d):', $out);
$out = preg_replace('/Resource id #\d+/', 'Resource id #%d', $out);
$out = preg_replace('/resource\(\d+\) of type/', 'resource(%d) of type', $out);
+ $out = preg_replace(
+ '/Resource ID#\d+ used as offset, casting to integer \(\d+\)/',
+ 'Resource ID#%d used as offset, casting to integer (%d)',
+ $out);
$out = preg_replace('/string\(\d+\) "([^"]*%d)/', 'string(%d) "$1', $out);
return $out;
}