summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Web/Html/RelativizeUrls/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/Web/Html/RelativizeUrls/Tests.hs
parent43e78fcdc755adcac61b3d2f1645037d3eff8fbb (diff)
downloadhakyll-2db34f050aa250c4c11a35cb201cc1c7a28d083d.tar.gz
Move from test-framework to tasty
Diffstat (limited to 'tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs')
-rw-r--r--tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs b/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs
index 4d9421e..658145d 100644
--- a/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs
+++ b/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs
@@ -6,8 +6,9 @@ module Hakyll.Web.Html.RelativizeUrls.Tests
--------------------------------------------------------------------------------
-import Test.Framework (Test, testGroup)
-import Test.HUnit ((@=?))
+import Test.Tasty (TestTree, testGroup)
+import Test.Tasty.HUnit ((@=?))
+
--------------------------------------------------------------------------------
import Hakyll.Web.Html.RelativizeUrls
@@ -15,7 +16,7 @@ import TestSuite.Util
--------------------------------------------------------------------------------
-tests :: Test
+tests :: TestTree
tests = testGroup "Hakyll.Web.Html.RelativizeUrls.Tests" $
fromAssertions "relativizeUrls"
[ "<a href=\"../foo\">bar</a>" @=?