Files
core/tests/php/StringTestCase.php
Jarek Jakubowski 16b48fe7cf Fix HtmlInjector
2019-04-21 21:52:19 +02:00

19 lines
356 B
PHP

<?php
declare(strict_types=1);
namespace Bolt\Tests;
use PHPUnit\Framework\TestCase;
class StringTestCase extends TestCase
{
public static function assertSameStrings(string $expected, string $actual)
{
self::assertSame(
preg_replace('/\s+/', '', $expected),
preg_replace('/\s+/', '', $actual)
);
}
}