add test for interpolation in @include

This commit is contained in:
Connor Skees 2022-12-29 03:02:05 -05:00
parent e237fb1f6d
commit 593f14e1c0

View File

@ -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 \";\"."
);