mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
refacto: moves function to being used on internal test suite only
This commit is contained in:
@ -39,3 +39,8 @@ function helper_returns_string()
|
||||
}
|
||||
|
||||
dataset('dataset_in_pest_file', ['A', 'B']);
|
||||
|
||||
function removeAnsiEscapeSequences(string $input): ?string
|
||||
{
|
||||
return preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $input);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user