Commit efacf8f
committed
fix: update HSL parsing test to enforce percentage unit validation
Replaced the test for parsing HSL colors without units for saturation and lightness with one that ensures an error is thrown for missing percentage units, aligning with stricter validation requirements.
Signed-off-by: Mallik Cheripally <mallikcheripally@gmail.com>1 parent 924adf3 commit efacf8f
1 file changed
+4
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
100 | 93 | | |
101 | 94 | | |
102 | 95 | | |
103 | | - | |
0 commit comments