diff --git a/package.yaml b/package.yaml index c344d32..e7fc86c 100644 --- a/package.yaml +++ b/package.yaml @@ -50,3 +50,4 @@ tests: - -with-rtsopts=-N dependencies: - subfix + - hspec >=2.7.4 && <2.8 diff --git a/subfix.cabal b/subfix.cabal index 0ddca46..fa7c7c2 100644 --- a/subfix.cabal +++ b/subfix.cabal @@ -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 diff --git a/test/Spec.hs b/test/Spec.hs index cd4753f..62c53ab 100644 --- a/test/Spec.hs +++ b/test/Spec.hs @@ -1,2 +1,26 @@ +{- + +subfix +Copyright (C) Jonathan Lamothe + +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 . + +-} + +import Test.Hspec (hspec) + main :: IO () -main = putStrLn "Test suite not yet implemented" +main = hspec $ return () + +--jl