diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-03-14 17:05:36 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-03-14 17:07:23 +0100 |
commit | 6ecc5b96a9854382682fd1c9231133c08dae7b17 (patch) | |
tree | 3703f769c52b951a6233a3b92736b84cc47700ed /test/Tests/Writers/Org.hs | |
parent | 0b4ae3af662587a69e6893b7f6c347d90912c48f (diff) |
Use tasty for tests rather than test-framework.
Diffstat (limited to 'test/Tests/Writers/Org.hs')
-rw-r--r-- | test/Tests/Writers/Org.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Tests/Writers/Org.hs b/test/Tests/Writers/Org.hs index 6943081d3..9cbe360da 100644 --- a/test/Tests/Writers/Org.hs +++ b/test/Tests/Writers/Org.hs @@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} module Tests.Writers.Org (tests) where -import Test.Framework +import Test.Tasty import Tests.Helpers import Text.Pandoc import Text.Pandoc.Arbitrary () @@ -9,10 +9,10 @@ import Text.Pandoc.Builder infix 4 =: (=:) :: (ToString a, ToPandoc a) - => String -> (a, String) -> Test + => String -> (a, String) -> TestTree (=:) = test (purely (writeOrg def . toPandoc)) -tests :: [Test] +tests :: [TestTree] tests = [ testGroup "links" -- See http://orgmode.org/manual/Internal-links.html#Internal-links [ "simple link" |