add test for interpolation in @include
This commit is contained in:
parent
e237fb1f6d
commit
593f14e1c0
@ -701,3 +701,9 @@ error!(
|
|||||||
@include meta.load-css("") {}"#,
|
@include meta.load-css("") {}"#,
|
||||||
"Error: Mixin doesn't accept a content block."
|
"Error: Mixin doesn't accept a content block."
|
||||||
);
|
);
|
||||||
|
error!(
|
||||||
|
disallows_interpolation_in_include_name,
|
||||||
|
r#"@mixin foo {}
|
||||||
|
@include f#{o}o;"#,
|
||||||
|
"Error: expected \";\"."
|
||||||
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user