Skip to content

Commit f23eeab

Browse files
oliverkleeJakeQZ
andauthored
Update tests/Unit/Value/CSSStringTest.php
Co-authored-by: JakeQZ <jake@qzdesign.co.uk>
1 parent f20c054 commit f23eeab

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tests/Unit/Value/CSSStringTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,12 @@ public function doesNotEscapeCharactersThatDoNotNeedToBeEscaped(): void
136136
*/
137137
public function doesNotEscapeDoubleQuotesThatDoNotNeedToBeEscaped(): void
138138
{
139+
$input = '"Hello World"';
140+
139141
$outputFormat = OutputFormat::createPretty();
140142

141-
$input = "'Hello World'";
142-
143-
self::assertSame("\"{$input}\"", (new CSSString($input))->render($outputFormat));
143+
self::assertSame('"\\"Hello World\\""', (new CSSString($input))->render($outputFormat));
144144

145-
$input = '"Hello World"';
146145

147146
$outputFormat->setStringQuotingType("'");
148147

0 commit comments

Comments
 (0)