diff options
author | Nicole Rauch <nicole.m@gmx.de> | 2016-08-14 19:37:29 +0200 |
---|---|---|
committer | Nicole Rauch <nicole.m@gmx.de> | 2016-08-14 22:13:31 +0200 |
commit | 8f11bbd1d7cd81572ddc433aa1706bc2d2db4c8d (patch) | |
tree | a00761b7c62406f1d71098a4d7628151e4405dfa /tests | |
parent | ec1486c4ba18452da4a5948477c1f8fe02c46d8f (diff) | |
download | hakyll-8f11bbd1d7cd81572ddc433aa1706bc2d2db4c8d.tar.gz |
Improved the compaction a bit more.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Hakyll/Web/CompressCss/Tests.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Hakyll/Web/CompressCss/Tests.hs b/tests/Hakyll/Web/CompressCss/Tests.hs index a7b94ab..221aa82 100644 --- a/tests/Hakyll/Web/CompressCss/Tests.hs +++ b/tests/Hakyll/Web/CompressCss/Tests.hs @@ -30,6 +30,8 @@ tests = testGroup "Hakyll.Web.CompressCss.Tests" $ concat -- compress separators , "}" @=? compressCss "; }" , "{};" @=? compressCss " { } ; " + -- compress whitespace even after this curly brace + , "}" @=? compressCss "; } " -- but do not compress separators inside of constants , "\" { } ; \"" @=? compressCss "\" { } ; \"" -- don't compress separators at the start or end of constants |