From ac641ef0b08f0e413fa5152b86aab7432b29acdf Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 14 Jan 2010 08:56:40 +0100 Subject: Added comment test case for compressCss. --- tests/Tests.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/Tests.hs') 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 = -- cgit v1.2.3