summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-14 08:56:40 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-14 08:56:40 +0100
commitac641ef0b08f0e413fa5152b86aab7432b29acdf (patch)
treec96ab4ddd2763b670b70b7ab4d1a8c34d2640e82 /tests
parent2851153eb6abfaf8098a01f85967925bf8b7d166 (diff)
downloadhakyll-ac641ef0b08f0e413fa5152b86aab7432b29acdf.tar.gz
Added comment test case for compressCss.
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Tests.hs b/tests/Tests.hs
index 7acdbce..501c09e 100644
--- a/tests/Tests.hs
+++ b/tests/Tests.hs
@@ -36,6 +36,7 @@ tests = [ testGroup "Util group"
, testCase "compressCSS 1" test_compress_css1
, testCase "compressCSS 2" test_compress_css2
, testCase "compressCSS 3" test_compress_css3
+ , testCase "compressCSS 4" test_compress_css4
]
, testGroup "Context group"
@@ -96,6 +97,8 @@ test_compress_css2 = compressCSS "img {border :none;;;; }"
test_compress_css3 =
compressCSS "p {font-size : 90%;} h1 {color :white;;; }"
@?= "p{font-size:90%}h1{color:white}"
+test_compress_css4 = compressCSS "a { /* /* red is pretty cool */ color: red; }"
+ @?= "a{color:red}"
-- Date rendering test cases.
test_render_date1 =