Skip to content

Commit 49cf6e7

Browse files
committed
Update CalcFunctionTest.php
1 parent c2b0583 commit 49cf6e7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/Unit/Value/CalcFunctionTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ public function provideInvalidSyntax(): array
159159
return [
160160
'missing space around -' => ['calc(100%-20px)'],
161161
'missing space around +' => ['calc(100%+20px)'],
162+
'missing space before -' => ['calc(100%- 20px)'],
163+
'missing space before +' => ['calc(100%+ 20px)'],
164+
'missing space after -' => ['calc(100% -20px)'],
165+
'missing space after +' => ['calc(100% +20px)'],
162166
'invalid operator' => ['calc(100% ^ 20px)'],
163167
];
164168
}

0 commit comments

Comments
 (0)