summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Core/Routes/Tests.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2016-10-17 11:05:25 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2016-10-17 11:05:25 +0200
commit2db34f050aa250c4c11a35cb201cc1c7a28d083d (patch)
tree380377956068c0bb0499dc5366249f9e1ff34458 /tests/Hakyll/Core/Routes/Tests.hs
parent43e78fcdc755adcac61b3d2f1645037d3eff8fbb (diff)
downloadhakyll-2db34f050aa250c4c11a35cb201cc1c7a28d083d.tar.gz
Move from test-framework to tasty
Diffstat (limited to 'tests/Hakyll/Core/Routes/Tests.hs')
-rw-r--r--tests/Hakyll/Core/Routes/Tests.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Hakyll/Core/Routes/Tests.hs b/tests/Hakyll/Core/Routes/Tests.hs
index 5a833b0..fc3d676 100644
--- a/tests/Hakyll/Core/Routes/Tests.hs
+++ b/tests/Hakyll/Core/Routes/Tests.hs
@@ -11,13 +11,13 @@ import Hakyll.Core.Identifier
import Hakyll.Core.Metadata
import Hakyll.Core.Routes
import System.FilePath ((</>))
-import Test.Framework (Test, testGroup)
-import Test.HUnit (Assertion, (@=?))
+import Test.Tasty (TestTree, testGroup)
+import Test.Tasty.HUnit (Assertion, (@=?))
import TestSuite.Util
--------------------------------------------------------------------------------
-tests :: Test
+tests :: TestTree
tests = testGroup "Hakyll.Core.Routes.Tests" $ fromAssertions "runRoutes"
[ testRoutes "foo.html" (setExtension "html") "foo"
, testRoutes "foo.html" (setExtension ".html") "foo"