nanospec 0.2.0 → 0.2.1
raw patch · 4 files changed
+12/−6 lines, 4 files
Files
- LICENSE +1/−1
- nanospec.cabal +3/−3
- src/Test/Hspec.hs +4/−1
- test/Test/HspecSpec.hs +4/−1
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2012 Simon Hengel <sol@typeful.net>+Copyright (c) 2012-2015 Simon Hengel <sol@typeful.net> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal
nanospec.cabal view
@@ -1,8 +1,8 @@ name: nanospec-version: 0.2.0+version: 0.2.1 license: MIT license-file: LICENSE-copyright: (c) 2012 Simon Hengel+copyright: (c) 2012-2015 Simon Hengel author: Simon Hengel <sol@typeful.net> maintainer: Simon Hengel <sol@typeful.net> category: Testing@@ -34,7 +34,7 @@ cpp-options: -DTEST ghc-options:- -Wall -Werror+ -Wall hs-source-dirs: src, test main-is:
src/Test/Hspec.hs view
@@ -26,9 +26,12 @@ #endif ) where +#if !(MIN_VERSION_base(4,8,0)) import Control.Applicative-import Control.Monad import Data.Monoid+#endif++import Control.Monad import Data.List (intercalate) import Data.Typeable import qualified Control.Exception as E
test/Test/HspecSpec.hs view
@@ -1,9 +1,12 @@-{-# LANGUAGE PackageImports #-}+{-# LANGUAGE PackageImports, CPP #-} module Main (main) where import "hspec" Test.Hspec +#if !(MIN_VERSION_base(4,8,0)) import Control.Applicative+#endif+ import qualified Test.Hspec as H import qualified Control.Exception as E import System.Exit