diff --git a/tests/Twig/Runtime/IconRuntimeTest.php b/tests/Twig/Runtime/IconRuntimeTest.php index b224641..53f00ed 100644 --- a/tests/Twig/Runtime/IconRuntimeTest.php +++ b/tests/Twig/Runtime/IconRuntimeTest.php @@ -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); } }