summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Web/CompressCss/Tests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Hakyll/Web/CompressCss/Tests.hs')
-rw-r--r--tests/Hakyll/Web/CompressCss/Tests.hs12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/Hakyll/Web/CompressCss/Tests.hs b/tests/Hakyll/Web/CompressCss/Tests.hs
index b356388..8521014 100644
--- a/tests/Hakyll/Web/CompressCss/Tests.hs
+++ b/tests/Hakyll/Web/CompressCss/Tests.hs
@@ -5,9 +5,9 @@ module Hakyll.Web.CompressCss.Tests
--------------------------------------------------------------------------------
-import Data.Char (toUpper)
-import Test.Framework (Test, testGroup)
-import Test.HUnit (assert, (@=?))
+import Data.Char (toUpper)
+import Test.Tasty (TestTree, testGroup)
+import Test.Tasty.HUnit (assert, (@=?))
--------------------------------------------------------------------------------
@@ -16,10 +16,10 @@ import TestSuite.Util
--------------------------------------------------------------------------------
-tests :: Test
+tests :: TestTree
tests = testGroup "Hakyll.Web.CompressCss.Tests" $ concat
[ fromAssertions "compressCss"
- [
+ [
-- compress whitespace
" something something " @=?
compressCss " something \n\t\r something "
@@ -32,7 +32,7 @@ tests = testGroup "Hakyll.Web.CompressCss.Tests" $ concat
-- strip comments
, "before after" @=? compressCss "before /* abc { } ;; \n\t\r */ after"
-- don't strip comments inside constants
- , "before \"/* abc { } ;; \n\t\r */\" after"
+ , "before \"/* abc { } ;; \n\t\r */\" after"
@=? compressCss "before \"/* abc { } ;; \n\t\r */\" after"
-- compress separators