From: Jakub Pawlowicz Date: Mon, 19 Dec 2016 06:43:07 +0000 (+0100) Subject: See #809 - adds a test case to avoid future regressions. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=351c8f1e0f963856ca521f02621418189e9681c4;p=clean-css.git See #809 - adds a test case to avoid future regressions. --- diff --git a/test/optimizer/basic-test.js b/test/optimizer/basic-test.js index c6b7d134..e20aef86 100644 --- a/test/optimizer/basic-test.js +++ b/test/optimizer/basic-test.js @@ -784,6 +784,10 @@ vows.describe('simple optimizations') 'tab inside property': [ 'a{border:2px\tsolid}', 'a{border:2px solid}' + ], + 'line breaks and special comments inside a rule': [ + 'a{\ncolor:red;\n/*!*/\n\n\n\n\n\n\n/*!*/\n}', + 'a{color:red/*!*//*!*/}' ] }, { advanced: false }) )