From 37b3046c316c940640c3f7a460476cfb6b0bb13c Mon Sep 17 00:00:00 2001 From: Jonathan Lamothe Date: Thu, 8 Aug 2019 16:42:58 -0400 Subject: [PATCH] hspec framework --- package.yaml | 1 + stack.yaml.lock | 12 ++++++++++++ test/Spec.hs | 4 +++- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 stack.yaml.lock diff --git a/package.yaml b/package.yaml index 00ee756..b3bb65f 100644 --- a/package.yaml +++ b/package.yaml @@ -46,3 +46,4 @@ tests: - -with-rtsopts=-N dependencies: - mtlstats + - hspec >= 2.7.1 && < 2.8 diff --git a/stack.yaml.lock b/stack.yaml.lock new file mode 100644 index 0000000..3bab3b8 --- /dev/null +++ b/stack.yaml.lock @@ -0,0 +1,12 @@ +# This file was autogenerated by Stack. +# You should not edit this file by hand. +# For more information, please see the documentation at: +# https://docs.haskellstack.org/en/stable/lock_files + +packages: [] +snapshots: +- completed: + size: 523443 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/14/0.yaml + sha256: 283773e7120f5446d961eab35ea95c9af9c24187cc178537bd29273200a05171 + original: lts-14.0 diff --git a/test/Spec.hs b/test/Spec.hs index cd4753f..ff6a86a 100644 --- a/test/Spec.hs +++ b/test/Spec.hs @@ -1,2 +1,4 @@ +import Test.Hspec (hspec) + main :: IO () -main = putStrLn "Test suite not yet implemented" +main = hspec $ return ()