summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Web
diff options
context:
space:
mode:
authorNicole Rauch <nicole.m@gmx.de>2016-08-14 17:02:01 +0200
committerNicole Rauch <nicole.m@gmx.de>2016-08-14 22:13:31 +0200
commit84818cb94aef6f7e3dc1a4b7abcd0e703508ea67 (patch)
tree5cfc9b1ab20d1a407fb24e40425f2201b3ecb444 /tests/Hakyll/Web
parenteaf21c273d572e7300b6378f1279fb4695ab691d (diff)
downloadhakyll-84818cb94aef6f7e3dc1a4b7abcd0e703508ea67.tar.gz
Adding tests that make sure that the constant terminators don't get mixed up.
Diffstat (limited to 'tests/Hakyll/Web')
-rw-r--r--tests/Hakyll/Web/CompressCss/Tests.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Hakyll/Web/CompressCss/Tests.hs b/tests/Hakyll/Web/CompressCss/Tests.hs
index 08c646d..cf90a34 100644
--- a/tests/Hakyll/Web/CompressCss/Tests.hs
+++ b/tests/Hakyll/Web/CompressCss/Tests.hs
@@ -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 ";;;;;;;"