diff options
Diffstat (limited to 'test/Tests/Writers/Org.hs.orig')
-rw-r--r-- | test/Tests/Writers/Org.hs.orig | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/Tests/Writers/Org.hs.orig b/test/Tests/Writers/Org.hs.orig deleted file mode 100644 index 9cbe360da..000000000 --- a/test/Tests/Writers/Org.hs.orig +++ /dev/null @@ -1,25 +0,0 @@ -{-# LANGUAGE OverloadedStrings #-} -module Tests.Writers.Org (tests) where - -import Test.Tasty -import Tests.Helpers -import Text.Pandoc -import Text.Pandoc.Arbitrary () -import Text.Pandoc.Builder - -infix 4 =: -(=:) :: (ToString a, ToPandoc a) - => String -> (a, String) -> TestTree -(=:) = test (purely (writeOrg def . toPandoc)) - -tests :: [TestTree] -tests = [ testGroup "links" - -- See http://orgmode.org/manual/Internal-links.html#Internal-links - [ "simple link" - =: link "/url" "" "foo" - =?> "[[/url][foo]]" - , "internal link to anchor" - =: link "#my-custom-id" "" "#my-custom-id" - =?> "[[#my-custom-id]]" - ] - ] |