summaryrefslogtreecommitdiff
path: root/coalpit.cabal
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2017-12-03 14:24:28 +0300
committerdefanor <defanor@uberspace.net>2017-12-03 14:26:30 +0300
commit6f2785c9d8bc38c13f5102c085c2fe87d21b8f8a (patch)
treeb266de63c3b0dc705d108240785fedec1d7227b3 /coalpit.cabal
parent15f63061dd9308e223077d718db0fce85366538f (diff)
Add tests
Diffstat (limited to 'coalpit.cabal')
-rw-r--r--coalpit.cabal17
1 files changed, 15 insertions, 2 deletions
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