From d6f4e2951f6fcdeaf6990c14d1c532485f43f719 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Mon, 19 Dec 2016 07:39:24 +0100 Subject: [PATCH] See #786 - adds a test case to avoid future regressions. --- test/optimizer/merge-adjacent-test.js | 4 ++++ 1 file changed, 4 insertions(+) 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%}' ] }) ) -- 2.34.1