Files
core/tests/php/StringTestCase.php
2019-04-22 00:55:13 +02:00

19 lines
353 B
PHP

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