diff options
author | Nicole Rauch <nicole.m@gmx.de> | 2016-08-14 17:02:01 +0200 |
---|---|---|
committer | Nicole Rauch <nicole.m@gmx.de> | 2016-08-14 22:13:31 +0200 |
commit | 84818cb94aef6f7e3dc1a4b7abcd0e703508ea67 (patch) | |
tree | 5cfc9b1ab20d1a407fb24e40425f2201b3ecb444 /tests | |
parent | eaf21c273d572e7300b6378f1279fb4695ab691d (diff) | |
download | hakyll-84818cb94aef6f7e3dc1a4b7abcd0e703508ea67.tar.gz |
Adding tests that make sure that the constant terminators don't get mixed up.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Hakyll/Web/CompressCss/Tests.hs | 5 |
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 ";;;;;;;" |