use hspec

This commit is contained in:
Jonathan Lamothe 2020-11-09 12:10:27 -05:00
parent 75ba8dd0b2
commit aaf5801b34
3 changed files with 28 additions and 2 deletions

View File

@ -50,3 +50,4 @@ tests:
- -with-rtsopts=-N
dependencies:
- subfix
- hspec >=2.7.4 && <2.8

View File

@ -4,7 +4,7 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: d24158a5725d6d8de1a1ea4fd8e7d406c303228e05359fbbbe13416795424d32
-- hash: ccd6d3f177151afd531307d68e3bf983deed87504a0dddaf8581f451ceec4fd0
name: subfix
version: 0.0.0
@ -61,5 +61,6 @@ test-suite subfix-test
ghc-options: -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, hspec >=2.7.4 && <2.8
, subfix
default-language: Haskell2010

View File

@ -1,2 +1,26 @@
{-
subfix
Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at
your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-}
import Test.Hspec (hspec)
main :: IO ()
main = putStrLn "Test suite not yet implemented"
main = hspec $ return ()
--jl