Adding tests that make sure that the constant terminators don't get mixed up.

This commit is contained in:
Nicole Rauch 2016-08-14 17:02:01 +02:00
parent eaf21c273d
commit 84818cb94a

View File

@ -36,6 +36,11 @@ tests = testGroup "Hakyll.Web.CompressCss.Tests" $ concat
-- but do not compress separators inside of constants
, "\" { } ; \"" @=?
compressCss "\" { } ; \""
-- don't get irritated by the wrong constant terminator
, "\" ' \"" @=?
compressCss "\" ' \""
, "' \" '" @=?
compressCss "' \" '"
, ";" @=?
compressCss ";;;;;;;"