From a3e54c31f83e5028c48e619c5b75fe06dc6131b2 Mon Sep 17 00:00:00 2001 From: Jake Hotson Date: Wed, 26 Jun 2024 23:07:18 +0100 Subject: [PATCH] [TASK] Test parsing arithmetic operators in clamp function Closes #619. The test passes, whereas without the change from #607, it does not. --- tests/Value/ValueTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Value/ValueTest.php b/tests/Value/ValueTest.php index 19382e38..a67cbe81 100644 --- a/tests/Value/ValueTest.php +++ b/tests/Value/ValueTest.php @@ -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)', + ], ]; }