mailchimp 0.2.0 → 0.2.1
raw patch · 5 files changed
+54/−2 lines, 5 filesdep +hspecdep +mailchimpdep ~basesetup-changed
Dependencies added: hspec, mailchimp
Dependency ranges changed: base
Files
- CHANGELOG.md +4/−0
- Setup.hs +0/−0
- mailchimp.cabal +19/−2
- test/Spec.hs +1/−0
- test/Web/MailChimpSpec.hs +30/−0
CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.2.1++- Tested with GHC 8.0.2.+ # 0.2.0 - Moved to Servant 0.10 (3931320)
− Setup.hs
mailchimp.cabal view
@@ -1,5 +1,5 @@ name: mailchimp-version: 0.2.0+version: 0.2.1 build-type: Simple cabal-version: >= 1.21@@ -21,7 +21,7 @@ category: Web -tested-with: GHC == 7.10.3, GHC == 8.0.1+tested-with: GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2 extra-source-files: CHANGELOG.md@@ -57,6 +57,23 @@ Haskell2010 ghc-options: -Wall+++test-suite sd+ type:+ exitcode-stdio-1.0+ hs-source-dirs:+ test+ main-is:+ Spec.hs+ other-modules:+ Web.MailChimpSpec+ build-depends:+ base+ , hspec >= 2.4 && < 2.5+ , mailchimp+ default-language:+ Haskell2010 source-repository head
+ test/Spec.hs view
@@ -0,0 +1,1 @@+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
+ test/Web/MailChimpSpec.hs view
@@ -0,0 +1,30 @@+{-# LANGUAGE OverloadedStrings #-}++module Web.MailChimpSpec+ ( main+ , spec+ )+ where++-- base+import Control.Monad+import Data.Maybe++-- hspec+import Test.Hspec++-- mailchimp+import Web.MailChimp+++main :: IO ()+main =+ hspec spec+++spec :: Spec+spec =+ describe "makeBaseUrl" $ do+ it "makes a base url" $ do+ makeBaseUrl "01234567890123456789012345678901-ab01"+ `shouldSatisfy` isJust