mirror of
https://github.com/jbcr/core.git
synced 2026-03-25 17:32:07 +01:00
19 lines
353 B
PHP
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)
|
|
);
|
|
}
|
|
}
|