Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable empty custom property tests for libsass #1385

Merged
merged 1 commit into from
Apr 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions spec/css/custom_properties/error.hrx
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
<===> empty/options.yml
---
:todo:
- libsass

<===> empty/input.scss
// CSS requires at least one token in a custom property.
.empty {
Expand All @@ -17,13 +12,15 @@ Error: Expected token.
'
input.scss 3:14 root stylesheet

<===> empty/error-libsass
Error: Custom property values may not be empty.
on line 3:13 of input.scss
>> --property:;

------------^

<===>
================================================================================
<===> empty_interpolation/options.yml
---
:todo:
- libsass

<===> empty_interpolation/input.scss
// CSS requires at least one token in a custom property.
.empty {
Expand All @@ -38,6 +35,13 @@ Error: Custom property values may not be empty.
'
input.scss 3:14 root stylesheet

<===> empty_interpolation/error-libsass
Error: Custom property values may not be empty.
on line 3:13 of input.scss
>> --property:#{""};

------------^

<===>
================================================================================
<===> nested/options.yml
Expand Down