Test removing current color

This commit is contained in:
2023-06-27 09:36:40 +01:00
parent 3b6a85c3b3
commit 692789b21d

View File

@@ -251,8 +251,10 @@ class IconRuntimeTest extends TestCase
public function testStrokeCurrentColorInstancesAreRemoved(): void
{
$needle = 'stroke="currentColor"';
$needleA = 'stroke="currentColor"';
$needleB = 'stroke=\'currentColor\'';
$contents = $this->icon->renderIcon(['icon' => self::ICON]);
$this->assertStringNotContainsString($needle, $contents);
$this->assertStringNotContainsString($needleA, $contents);
$this->assertStringNotContainsString($needleB, $contents);
}
}