use hspec
This commit is contained in:
parent
ce148c553a
commit
8fa0afd0e2
|
@ -43,5 +43,6 @@ test-suite csv-slurp-test
|
||||||
build-depends:
|
build-depends:
|
||||||
base >=4.7 && <5
|
base >=4.7 && <5
|
||||||
, csv-slurp
|
, csv-slurp
|
||||||
|
, hspec >=2.8.5 && <2.9
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
autogen-modules: Paths_csv_slurp
|
autogen-modules: Paths_csv_slurp
|
||||||
|
|
|
@ -39,5 +39,6 @@ tests:
|
||||||
- -with-rtsopts=-N
|
- -with-rtsopts=-N
|
||||||
dependencies:
|
dependencies:
|
||||||
- csv-slurp
|
- csv-slurp
|
||||||
|
- hspec >= 2.8.5 && < 2.9
|
||||||
verbatim:
|
verbatim:
|
||||||
<<: *paths
|
<<: *paths
|
||||||
|
|
26
test/Spec.hs
26
test/Spec.hs
|
@ -1,2 +1,26 @@
|
||||||
|
{-
|
||||||
|
|
||||||
|
csv-slurp
|
||||||
|
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…
Reference in New Issue
Block a user