summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Web/CompressCss/Tests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Hakyll/Web/CompressCss/Tests.hs')
-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 cf90a34..c8db116 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 compress separators at the start or end of constants
+ , "\" }\"" @=?
+ compressCss "\" }\""
+ , "\"{ \"" @=?
+ compressCss "\"{ \""
-- don't get irritated by the wrong constant terminator
, "\" ' \"" @=?
compressCss "\" ' \""