From 5076b266b3f1da4b5d10832bf77086485146c2b3 Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Thu, 25 Jun 2026 13:54:40 -0400 Subject: [PATCH] allow custom indentations in tests (> 1 space) --- tests/ViewTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ViewTest.php b/tests/ViewTest.php index 69f1f61..e855fff 100644 --- a/tests/ViewTest.php +++ b/tests/ViewTest.php @@ -400,6 +400,6 @@ class ViewTest extends TestCase private static function removeIndentation(string $subject): string { - return str_replace(' ', '', $subject); + return preg_replace('/\s{2,}/', '', $subject); } }