From: Jakub Pawlowicz Date: Mon, 19 Dec 2016 06:39:24 +0000 (+0100) Subject: See #786 - adds a test case to avoid future regressions. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d6f4e2951f6fcdeaf6990c14d1c532485f43f719;p=clean-css.git See #786 - adds a test case to avoid future regressions. --- diff --git a/test/optimizer/merge-adjacent-test.js b/test/optimizer/merge-adjacent-test.js index df290e52..8e049acc 100644 --- a/test/optimizer/merge-adjacent-test.js +++ b/test/optimizer/merge-adjacent-test.js @@ -75,6 +75,10 @@ vows.describe('remove duplicates') 'no rule after comma with comma last': [ 'h1{color:#000}h2,{color:#000}', 'h1{color:#000},h2{color:#000}' + ], + 'with @ chars in rule names': [ + '.col-1\@4{width:25%}.col-2\@4{width:50%}.col-1\@2{width:50%}.col-3\@4{width:75%}.col-4\@4{width:100%}.col-1\@1{width:100%}', + '.col-1\@4{width:25%}.col-1\@2,.col-2\@4{width:50%}.col-3\@4{width:75%}.col-1\@1,.col-4\@4{width:100%}' ] }) )