1+ cabal-version : 3.0
2+
13name : chell
24version : 0.5
35
@@ -9,45 +11,42 @@ license-file: license.txt
911author : John Millikin <john@john-millikin.com>
1012maintainer : Chris Martin, Julie Moronuki
1113build-type : Simple
12- cabal-version : >= 1.6
1314
1415homepage : https://github.com/typeclasses/chell
1516bug-reports : https://github.com/typeclasses/chell/issues
1617
17- tested-with : GHC == 8.2.2 , GHC == 8.4.4 , GHC == 8.6.3
18-
1918description :
2019 Chell is a simple and intuitive library for automated testing. It natively
2120 supports assertion-based testing, and can use companion libraries
2221 such as @chell-quickcheck@ to support more complex testing strategies.
23- .
24- An example test suite, which verifies the behavior of artithmetic operators.
25- .
22+
23+ An example test suite, which verifies the behavior of arithmetic operators.
24+
2625 @
2726 {-\# LANGUAGE TemplateHaskell \#-}
28- .
27+
2928 import Test.Chell
30- .
29+
3130 tests_Math : : Suite
3231 tests_Math = suite \"math\"
3332   [ test_Addition
3433   , test_Subtraction
3534   ]
36- .
35+
3736 test_Addition : : Test
3837 test_Addition = assertions \"addition\" $ do
3938   $expect (equal (2 + 1) 3)
4039   $expect (equal (1 + 2) 3)
41- .
40+
4241 test_Subtraction : : Test
4342 test_Subtraction = assertions \"subtraction\" $ do
4443   $expect (equal (2 - 1) 1)
4544   $expect (equal (1 - 2) (-1))
46- .
45+
4746 main : : IO ()
4847 main = defaultMain [tests_Math]
4948 @
50- .
49+
5150 @
5251 $ ghc --make chell-example.hs
5352 $ ./chell-example
@@ -69,18 +68,18 @@ library
6968 ghc-options : -Wall
7069
7170 build-depends :
72- base >= 4.1 && < 5.0
73- , bytestring >= 0.9
74- , options >= 1.0 && < 2.0
71+ base >= 4.10 && < 4.17
72+ , bytestring >= 0.10.8.2 && < 0.12
73+ , options >= 1.2.1 && < 1.3
7574 , patience >= 0.2 && < 0.4
76- , random >= 1.0
77- , template-haskell >= 2.3
78- , text
79- , transformers >= 0.2
75+ , random >= 1.1 && < 1.3
76+ , template-haskell >= 2.12 && < 2.19
77+ , text >= 1.2.3 && < 1.2.6
78+ , transformers >= 0.5.2 && < 0.6
8079
8180 if flag(color-output)
8281 build-depends :
83- ansi-terminal >= 0.5 && < 0.9
82+ ansi-terminal >= 0.8 && < 0.12
8483
8584 exposed-modules :
8685 Test.Chell
0 commit comments