use hspec
This commit is contained in:
parent
75ba8dd0b2
commit
aaf5801b34
@ -50,3 +50,4 @@ tests:
|
|||||||
- -with-rtsopts=-N
|
- -with-rtsopts=-N
|
||||||
dependencies:
|
dependencies:
|
||||||
- subfix
|
- subfix
|
||||||
|
- hspec >=2.7.4 && <2.8
|
||||||
|
@ -4,7 +4,7 @@ cabal-version: 1.12
|
|||||||
--
|
--
|
||||||
-- see: https://github.com/sol/hpack
|
-- see: https://github.com/sol/hpack
|
||||||
--
|
--
|
||||||
-- hash: d24158a5725d6d8de1a1ea4fd8e7d406c303228e05359fbbbe13416795424d32
|
-- hash: ccd6d3f177151afd531307d68e3bf983deed87504a0dddaf8581f451ceec4fd0
|
||||||
|
|
||||||
name: subfix
|
name: subfix
|
||||||
version: 0.0.0
|
version: 0.0.0
|
||||||
@ -61,5 +61,6 @@ test-suite subfix-test
|
|||||||
ghc-options: -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
|
ghc-options: -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
|
||||||
build-depends:
|
build-depends:
|
||||||
base >=4.7 && <5
|
base >=4.7 && <5
|
||||||
|
, hspec >=2.7.4 && <2.8
|
||||||
, subfix
|
, subfix
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
26
test/Spec.hs
26
test/Spec.hs
@ -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 :: IO ()
|
||||||
main = putStrLn "Test suite not yet implemented"
|
main = hspec $ return ()
|
||||||
|
|
||||||
|
--jl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user