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