summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Core/Dependencies
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2012-11-20 11:50:22 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2012-11-20 11:50:22 +0100
commitb5adcb69d1cd26e613c5c56c85307050bb8297cf (patch)
treebb9485213f2c2fa022c2a363de26ad0561f1d8c9 /tests/Hakyll/Core/Dependencies
parentbfa10560f87b1843f9302a70f6c9333fc2731e88 (diff)
downloadhakyll-b5adcb69d1cd26e613c5c56c85307050bb8297cf.tar.gz
Update more tests
Diffstat (limited to 'tests/Hakyll/Core/Dependencies')
-rw-r--r--tests/Hakyll/Core/Dependencies/Tests.hs19
1 files changed, 8 insertions, 11 deletions
diff --git a/tests/Hakyll/Core/Dependencies/Tests.hs b/tests/Hakyll/Core/Dependencies/Tests.hs
index 22d606f..d6e3094 100644
--- a/tests/Hakyll/Core/Dependencies/Tests.hs
+++ b/tests/Hakyll/Core/Dependencies/Tests.hs
@@ -6,26 +6,23 @@ module Hakyll.Core.Dependencies.Tests
--------------------------------------------------------------------------------
-import Data.List (delete)
-import qualified Data.Map as M
-import qualified Data.Set as S
-import Test.Framework (Test, testGroup)
-import Test.Framework.Providers.HUnit (testCase)
-import Test.HUnit (Assertion, (@=?))
+import Data.List (delete)
+import qualified Data.Map as M
+import qualified Data.Set as S
+import Test.Framework (Test, testGroup)
+import Test.HUnit (Assertion, (@=?))
--------------------------------------------------------------------------------
import Hakyll.Core.Dependencies
import Hakyll.Core.Identifier
+import TestSuite.Util
--------------------------------------------------------------------------------
tests :: Test
-tests = testGroup "Hakyll.Core.Dependencies.Tests"
- [ testCase "case01" case01
- , testCase "case02" case02
- , testCase "case03" case03
- ]
+tests = testGroup "Hakyll.Core.Dependencies.Tests" $
+ fromAssertions "analyze" [case01, case02, case03]
--------------------------------------------------------------------------------