Test removing current color
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user