From 6f2785c9d8bc38c13f5102c085c2fe87d21b8f8a Mon Sep 17 00:00:00 2001 From: defanor Date: Sun, 3 Dec 2017 14:24:28 +0300 Subject: Add tests --- coalpit.cabal | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'coalpit.cabal') diff --git a/coalpit.cabal b/coalpit.cabal index 31e2831..0578897 100644 --- a/coalpit.cabal +++ b/coalpit.cabal @@ -26,6 +26,19 @@ executable coalpit-example library exposed-modules: Coalpit other-extensions: TemplateHaskell, FlexibleInstances - build-depends: base >=4.9 && <4.10 - , megaparsec >= 6.2.0 + build-depends: base >= 4.9 && < 5 + , megaparsec >= 6.2 && < 7 default-language: Haskell2010 + +test-suite test-coalpit + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Test.hs + build-depends: base >= 4.9 && < 5 + , megaparsec >= 6.2 && < 7 + , QuickCheck >= 2.10 && < 3 + , generic-random >= 1 && < 2 + , tasty >= 0.12 && < 1 + , tasty-quickcheck >= 0.9 && < 1 + , tasty-travis >= 0.2 && < 1 + , coalpit -- cgit v1.2.3