diff options
Diffstat (limited to 'tests/Hakyll/Web/Html')
| -rw-r--r-- | tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs | 7 | ||||
| -rw-r--r-- | tests/Hakyll/Web/Html/Tests.hs | 8 |
2 files changed, 8 insertions, 7 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>" @=? diff --git a/tests/Hakyll/Web/Html/Tests.hs b/tests/Hakyll/Web/Html/Tests.hs index bad5ebc..efb4099 100644 --- a/tests/Hakyll/Web/Html/Tests.hs +++ b/tests/Hakyll/Web/Html/Tests.hs @@ -5,9 +5,9 @@ module Hakyll.Web.Html.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,7 +16,7 @@ import TestSuite.Util -------------------------------------------------------------------------------- -tests :: Test +tests :: TestTree tests = testGroup "Hakyll.Web.Html.Tests" $ concat [ fromAssertions "demoteHeaders" [ "<h2>A h1 title</h2>" @=? |
