require 0.4.1 → 0.4.2
raw patch · 4 files changed
+3/−17 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- package.yaml +1/−1
- require.cabal +2/−4
- test-suite/Main.hs +0/−4
- test-suite/Preprocessed.hs +0/−8
package.yaml view
@@ -1,5 +1,5 @@ name: require-version: '0.4.1'+version: '0.4.2' github: "theam/require" license: Apache-2.0 author: "The Agile Monkeys"
require.cabal view
@@ -2,10 +2,9 @@ -- -- see: https://github.com/sol/hpack ----- hash: 594ca7f466defab634bcc5a8afa821a67a437a703efe1537dda645ad6086c2f9-+-- hash: d137a452230c193641b2f17f7eaca960c2f427449f4d9c1197cfb30248c4c870 name: require-version: 0.4.1+version: 0.4.2 synopsis: Scrap your qualified import clutter description: See <https://theam.github.io/require> category: Other@@ -94,7 +93,6 @@ type: exitcode-stdio-1.0 main-is: Main.hs other-modules:- Preprocessed Paths_require hs-source-dirs: test-suite
test-suite/Main.hs view
@@ -7,8 +7,6 @@ import qualified Require -import Preprocessed- main :: IO () main = do test <- testSpec "require" spec@@ -67,5 +65,3 @@ actual `shouldContain` expectedTypeImport actual `shouldContain` expectedQualifiedImport - it "Autorequires properly" $ do- foo "asd." `shouldBe` "asd"
− test-suite/Preprocessed.hs
@@ -1,8 +0,0 @@-{-# OPTIONS_GHC -F -pgmF autorequirepp #-}-module Preprocessed where--import Prelude--foo :: Text -> Text-foo = Text.takeWhile (/= '.')-