summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNicole Rauch <nicole.m@gmx.de>2016-08-15 00:05:19 +0200
committerNicole Rauch <nicole.m@gmx.de>2016-08-15 00:05:19 +0200
commit9f850a9035c29de568fb61b9646f657f5935ab89 (patch)
tree689d57d7c1d02aeb8f7fe2817f599cd9417313d5 /tests
parentea0a8d5226f653dd37b6801f52dc5ad58f3a5809 (diff)
downloadhakyll-9f850a9035c29de568fb61b9646f657f5935ab89.tar.gz
Also trim whitespace around colons.
Diffstat (limited to 'tests')
-rw-r--r--tests/Hakyll/Web/CompressCss/Tests.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Hakyll/Web/CompressCss/Tests.hs b/tests/Hakyll/Web/CompressCss/Tests.hs
index c3fc840..b356388 100644
--- a/tests/Hakyll/Web/CompressCss/Tests.hs
+++ b/tests/Hakyll/Web/CompressCss/Tests.hs
@@ -51,6 +51,8 @@ tests = testGroup "Hakyll.Web.CompressCss.Tests" $ concat
-- don't compress whitespace around separators in constants in the middle of a string
, "abc '{ '" @=? compressCss "abc '{ '"
, "abc \"{ \"" @=? compressCss "abc \"{ \""
+ -- compress whitespace after colons
+ , "abc:xyz" @=? compressCss "abc : xyz"
-- compress multiple semicolons
, ";" @=? compressCss ";;;;;;;"
]