From c45fa664a23c422bed5a7bc10088b93f230f9bd6 Mon Sep 17 00:00:00 2001 From: Liam Buchanan Date: Mon, 11 Sep 2017 21:22:06 -0400 Subject: [PATCH] test: add case for `url` processing (#603) --- test/localsTest.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/localsTest.js b/test/localsTest.js index 314d6e89..a706c2c8 100644 --- a/test/localsTest.js +++ b/test/localsTest.js @@ -49,4 +49,11 @@ describe("locals", function() { } } ); + testLocals("should not fail on processing a url", + ":local(.abc) { background: url(http://example.com/image.jpg); }", + { + abc: "_abc" + }, + "?localIdentName=_[local]" + ); });