Skip to content

Commit 9d948c1

Browse files
committed
run-tests: remove unused comp_line() function
1 parent e7dfb34 commit 9d948c1

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

run-tests.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2882,19 +2882,6 @@ function expectf_to_regex(?string $wanted): string
28822882
'%0' => '\x00',
28832883
]);
28842884
}
2885-
2886-
/**
2887-
* @return bool|int
2888-
*/
2889-
function comp_line(string $l1, string $l2, bool $is_reg)
2890-
{
2891-
if ($is_reg) {
2892-
return preg_match('/^' . $l1 . '$/s', $l2);
2893-
}
2894-
2895-
return !strcmp($l1, $l2);
2896-
}
2897-
28982885
/**
28992886
* Map "Zend OPcache" to "opcache" and convert all ext names to lowercase.
29002887
*/

0 commit comments

Comments
 (0)