summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Core/Provider
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Hakyll/Core/Provider')
-rw-r--r--tests/Hakyll/Core/Provider/Metadata/Tests.hs6
-rw-r--r--tests/Hakyll/Core/Provider/Tests.hs7
2 files changed, 6 insertions, 7 deletions
diff --git a/tests/Hakyll/Core/Provider/Metadata/Tests.hs b/tests/Hakyll/Core/Provider/Metadata/Tests.hs
index a640f42..4e117f4 100644
--- a/tests/Hakyll/Core/Provider/Metadata/Tests.hs
+++ b/tests/Hakyll/Core/Provider/Metadata/Tests.hs
@@ -10,13 +10,13 @@ import qualified Data.Text as T
import qualified Data.Yaml as Yaml
import Hakyll.Core.Metadata
import Hakyll.Core.Provider.Metadata
-import Test.Framework (Test, testGroup)
-import Test.HUnit (Assertion, (@=?), assertFailure)
+import Test.Tasty (TestTree, testGroup)
+import Test.Tasty.HUnit (Assertion, assertFailure, (@=?))
import TestSuite.Util
--------------------------------------------------------------------------------
-tests :: Test
+tests :: TestTree
tests = testGroup "Hakyll.Core.Provider.Metadata.Tests" $
fromAssertions "page" [testPage01, testPage02]
diff --git a/tests/Hakyll/Core/Provider/Tests.hs b/tests/Hakyll/Core/Provider/Tests.hs
index 8a505d2..d1c542a 100644
--- a/tests/Hakyll/Core/Provider/Tests.hs
+++ b/tests/Hakyll/Core/Provider/Tests.hs
@@ -8,14 +8,13 @@ module Hakyll.Core.Provider.Tests
--------------------------------------------------------------------------------
import Hakyll.Core.Metadata
import Hakyll.Core.Provider
-import Test.Framework (Test, testGroup)
-import Test.Framework.Providers.HUnit (testCase)
-import Test.HUnit (Assertion, assert, (@=?))
+import Test.Tasty (TestTree, testGroup)
+import Test.Tasty.HUnit (Assertion, assert, testCase, (@=?))
import TestSuite.Util
--------------------------------------------------------------------------------
-tests :: Test
+tests :: TestTree
tests = testGroup "Hakyll.Core.Provider.Tests"
[ testCase "case01" case01
]