Adding tests that make sure that the constant terminators don't get mixed up.
commit84818cb94aef6f7e3dc1a4b7abcd0e703508ea67
authorNicole Rauch <nicole.m@gmx.de>
dateSun 14 Aug 2016, 17:02 (10 years ago)
parenteaf21c2
tests/Hakyll/Web/CompressCss/Tests.hs+5
@@ -36,6 +36,11 @@ tests = testGroup "Hakyll.Web.CompressCss.Tests" $ concat
3636 -- but do not compress separators inside of constants
3737 , "\" { } ; \"" @=?
3838 compressCss "\" { } ; \""
39+ -- don't get irritated by the wrong constant terminator
40+ , "\" ' \"" @=?
41+ compressCss "\" ' \""
42+ , "' \" '" @=?
43+ compressCss "' \" '"
3944 , ";" @=?
4045 compressCss ";;;;;;;"
4146