summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNicole Rauch <nicole.m@gmx.de>2016-08-13 22:51:06 +0200
committerNicole Rauch <nicole.m@gmx.de>2016-08-14 22:13:31 +0200
commiteaf21c273d572e7300b6378f1279fb4695ab691d (patch)
treec4f883f4e59a3945c1dd8dbab4009c7c0d2f8e32 /tests
parent66a90395fc1174d05254876d11698f4de5a895c2 (diff)
downloadhakyll-eaf21c273d572e7300b6378f1279fb4695ab691d.tar.gz
Whitespace in certain kinds of string constants is no longer eliminated.
Diffstat (limited to 'tests')
-rw-r--r--tests/Hakyll/Web/CompressCss/Tests.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Hakyll/Web/CompressCss/Tests.hs b/tests/Hakyll/Web/CompressCss/Tests.hs
index 1430abf..08c646d 100644
--- a/tests/Hakyll/Web/CompressCss/Tests.hs
+++ b/tests/Hakyll/Web/CompressCss/Tests.hs
@@ -33,6 +33,9 @@ tests = testGroup "Hakyll.Web.CompressCss.Tests" $ concat
compressCss "; }"
, "{};" @=?
compressCss " { } ; "
+ -- but do not compress separators inside of constants
+ , "\" { } ; \"" @=?
+ compressCss "\" { } ; \""
, ";" @=?
compressCss ";;;;;;;"