@@ -30,7 +30,10 @@ tests = testGroup "Hakyll.Web.CompressCss.Tests" $ concat
30 compressCss "abc ' \t\n\r ' xyz"
30 compressCss "abc ' \t\n\r ' xyz"
32 -- strip comments
32 -- strip comments
33+ , "before after" @=? compressCss "before /* abc { } ;; \n\t\r */ after"
34+ -- don't strip comments inside constants
35+ , "before \"/* abc { } ;; \n\t\r */\" after"
33− , "" @=? compressCss "/* abc { } ;; \n\t\r */"
36+ @=? compressCss "before \"/* abc { } ;; \n\t\r */\" after"
35 -- compress separators
38 -- compress separators
36 , "}" @=? compressCss "; }"
39 , "}" @=? compressCss "; }"