Skip to content

Commit af46ac9

Browse files
committed
Enable empty custom property tests for libsass
libsass issue: sass/libsass#2655
1 parent b6788ca commit af46ac9

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

spec/css/custom_properties/error.hrx

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<===> empty/options.yml
2-
---
3-
:todo:
4-
- libsass
5-
61
<===> empty/input.scss
72
// CSS requires at least one token in a custom property.
83
.empty {
@@ -17,13 +12,15 @@ Error: Expected token.
1712
'
1813
input.scss 3:14 root stylesheet
1914

15+
<===> empty/error-libsass
16+
Error: Custom property values may not be empty.
17+
on line 3:13 of input.scss
18+
>> --property:;
19+
20+
------------^
21+
2022
<===>
2123
================================================================================
22-
<===> empty_interpolation/options.yml
23-
---
24-
:todo:
25-
- libsass
26-
2724
<===> empty_interpolation/input.scss
2825
// CSS requires at least one token in a custom property.
2926
.empty {
@@ -38,6 +35,13 @@ Error: Custom property values may not be empty.
3835
'
3936
input.scss 3:14 root stylesheet
4037

38+
<===> empty_interpolation/error-libsass
39+
Error: Custom property values may not be empty.
40+
on line 3:13 of input.scss
41+
>> --property:#{""};
42+
43+
------------^
44+
4145
<===>
4246
================================================================================
4347
<===> nested/options.yml

0 commit comments

Comments
 (0)