From 593f14e1c035934429822bfcda1070469329192a Mon Sep 17 00:00:00 2001 From: Connor Skees Date: Thu, 29 Dec 2022 03:02:05 -0500 Subject: [PATCH] add test for interpolation in `@include` --- tests/mixins.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/mixins.rs b/tests/mixins.rs index 929c717..8625513 100644 --- a/tests/mixins.rs +++ b/tests/mixins.rs @@ -701,3 +701,9 @@ error!( @include meta.load-css("") {}"#, "Error: Mixin doesn't accept a content block." ); +error!( + disallows_interpolation_in_include_name, + r#"@mixin foo {} + @include f#{o}o;"#, + "Error: expected \";\"." +);