From 011577c9f6482cd1d6d098f56d2c40932b269c5d Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Mon, 24 Feb 2020 15:10:30 -0500 Subject: [PATCH] test for interpolation in attribute selectors --- tests/selectors.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/selectors.rs b/tests/selectors.rs index 40b193e..5c43c26 100644 --- a/tests/selectors.rs +++ b/tests/selectors.rs @@ -34,6 +34,11 @@ test!( selector_attribute_any_lower_case_insensitive, "[attr=val i] {\n color: red;\n}\n" ); +test!( + selector_attribute_interpolate, + "[a#{tt}r=v#{a}l] {\n color: red;\n}\n", + "[attr=val] {\n color: red;\n}\n" +); test!( selector_attribute_any_upper_case_insensitive, "[attr=val I] {\n color: red;\n}\n"