allow custom indentations in tests (> 1 space)

580-view-class-steroids
fadrian06 2 weeks ago
parent 5c4b9b9856
commit 5076b266b3

@ -400,6 +400,6 @@ class ViewTest extends TestCase
private static function removeIndentation(string $subject): string private static function removeIndentation(string $subject): string
{ {
return str_replace(' ', '', $subject); return preg_replace('/\s{2,}/', '', $subject);
} }
} }

Loading…
Cancel
Save