diff --git a/hamming.cabal b/hamming.cabal index 741d7b1..ac05220 100644 --- a/hamming.cabal +++ b/hamming.cabal @@ -60,4 +60,5 @@ test-suite hamming-test build-depends: base >=4.7 && <5 , hamming + , hspec >=2.11.9 && <2.12 default-language: Haskell2010 diff --git a/package.yaml b/package.yaml index 69751b2..454b2ea 100644 --- a/package.yaml +++ b/package.yaml @@ -56,3 +56,4 @@ tests: - -with-rtsopts=-N dependencies: - hamming + - hspec >= 2.11.9 && < 2.12 diff --git a/test/Spec.hs b/test/Spec.hs index cd4753f..242ab19 100644 --- a/test/Spec.hs +++ b/test/Spec.hs @@ -1,2 +1,27 @@ +{- + +hamming +Copyright (C) Jonathan Lamothe + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero 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 +Affero General Public License for more details. + +You should have received a copy of the GNU Affero 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