From 3e8b0387055d621c01873744ef8085a364d5d58b Mon Sep 17 00:00:00 2001 From: Connor Skees Date: Mon, 17 Aug 2020 02:50:19 -0400 Subject: [PATCH] add ignored test for interpolation of builtin fns --- tests/interpolation.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/interpolation.rs b/tests/interpolation.rs index e72f35f..26fa2e5 100644 --- a/tests/interpolation.rs +++ b/tests/interpolation.rs @@ -71,6 +71,12 @@ test!( "$f: foo;\na {\n color: #{$f}(a, 1+2, c);\n}\n", "a {\n color: foo(a, 3, c);\n}\n" ); +test!( + #[ignore = "we evaluate interpolation eagerly"] + interpolated_builtin_fn, + "a {\n color: uni#{t}less(1px);\n}\n", + "a {\n color: unitless(1px);\n}\n" +); error!( error_message_when_at_start_of_value, "a {\n color: #{2px*5px};\n}\n", "Error: 10px*px isn't a valid CSS value."