From 2db34f050aa250c4c11a35cb201cc1c7a28d083d Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Mon, 17 Oct 2016 11:05:25 +0200 Subject: Move from test-framework to tasty --- tests/Hakyll/Web/Template/Context/Tests.hs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'tests/Hakyll/Web/Template/Context') diff --git a/tests/Hakyll/Web/Template/Context/Tests.hs b/tests/Hakyll/Web/Template/Context/Tests.hs index 5f77dad..f263391 100644 --- a/tests/Hakyll/Web/Template/Context/Tests.hs +++ b/tests/Hakyll/Web/Template/Context/Tests.hs @@ -6,22 +6,21 @@ module Hakyll.Web.Template.Context.Tests -------------------------------------------------------------------------------- -import Test.Framework (Test, testGroup) -import Test.Framework.Providers.HUnit (testCase) -import Test.HUnit (Assertion, (@=?)) +import Test.Tasty (TestTree, testGroup) +import Test.Tasty.HUnit (Assertion, testCase, (@=?)) -------------------------------------------------------------------------------- import Hakyll.Core.Compiler import Hakyll.Core.Identifier import Hakyll.Core.Provider -import Hakyll.Core.Store (Store) +import Hakyll.Core.Store (Store) import Hakyll.Web.Template.Context import TestSuite.Util -------------------------------------------------------------------------------- -tests :: Test +tests :: TestTree tests = testGroup "Hakyll.Core.Template.Context.Tests" [ testCase "testDateField" testDateField ] -- cgit v1.2.3