Skip to content

Commit 8d7147f

Browse files
raxbgJakeQZ
authored andcommitted
[FEATURE] Handle arithmetic operators in Value
1 parent cb6dbdd commit 8d7147f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/ParserTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,10 +1197,10 @@ public function lonelyImport(): void
11971197
public function functionArithmeticInFile()
11981198
{
11991199
$oDoc = self::parsedStructureForFile('function-arithmetic', Settings::create()->withMultibyteSupport(true));
1200-
$sExpected = 'div {height: max(300,vh+10);}
1201-
div {height: max(300,vh-10);}
1202-
div {height: max(300,vh*10);}
1203-
div {height: max(300,vh/10);}';
1200+
$sExpected = 'div {height: max(300,vh + 10);}
1201+
div {height: max(300,vh - 10);}
1202+
div {height: max(300,vh * 10);}
1203+
div {height: max(300,vh / 10);}';
12041204
self::assertSame($sExpected, $oDoc->render());
12051205
}
12061206

0 commit comments

Comments
 (0)