Files
core/tests/php/StringTestCase.php
Bob den Otter a16492815b Updating tests
2019-08-25 08:00:08 +02:00

19 lines
359 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): void
{
self::assertSame(
preg_replace('/\s+/', '', $expected),
preg_replace('/\s+/', '', $actual)
);
}
}