Skip to content

Commit

Permalink
[TASK] Test parsing arithmetic operators in clamp function
Browse files Browse the repository at this point in the history
Closes #619.

The test passes, whereas without the change from #607, it does not.
  • Loading branch information
Jake Hotson committed Jun 26, 2024
1 parent 99202fb commit a3e54c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Value/ValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ public static function provideCssFunctionTemplates(): array
'to be parsed' => 'max(300px, %s);',
'expected' => 'max(300px,%s)',
],
'clamp' => [
'to be parsed' => 'clamp(2.19rem, %s, 2.5rem);',
'expected' => 'clamp(2.19rem,%s,2.5rem)',
],
];
}

Expand Down

0 comments on commit a3e54c3

Please sign in to comment.