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]" + ); });