From 295dd897297722d07ec2ce5fb82e323fe495c775 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 24 Aug 2020 17:09:34 +0200 Subject: GHC 8.8, cabal 3, pandoc 2.10 compatibility Move files around to separate Pesto (the library) and Pesto (the executables). Fixes for pandoc API changes. --- src/Test.lhs | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/Test.lhs (limited to 'src/Test.lhs') diff --git a/src/Test.lhs b/src/Test.lhs deleted file mode 100644 index 400192e..0000000 --- a/src/Test.lhs +++ /dev/null @@ -1,22 +0,0 @@ -Running tests -+++++++++++++ - -.. class:: nodoc - -> import Test.HUnit -> import System.Exit (exitFailure, exitSuccess) -> import Codec.Pesto.Parse (test) -> import Codec.Pesto.Lint (test) -> import Codec.Pesto.Graph (test) - -The testcases can be run with ``cabal test``. This runs *all* testcases from -all modules and prints a summary. - -> main = runTestTT tests >>= \c -> if errors c + failures c > 0 then exitFailure else exitSuccess - -> tests = TestList [ -> "parse" ~: Codec.Pesto.Parse.test -> , "graph" ~: Codec.Pesto.Graph.test -> , "lint" ~: Codec.Pesto.Lint.test -> ] - -- cgit v1.2.3