packages feed

purescript-bridge 0.3.1.0 → 0.3.1.1

raw patch · 2 files changed

+10/−45 lines, 2 filesdep −Cabaldep −HUnitdep −purescript-bridgedep ~basePVP ok

version bump matches the API change (PVP)

Dependencies removed: Cabal, HUnit, purescript-bridge

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

purescript-bridge.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             0.3.1.0+version:             0.3.1.1  -- A short (one-line) description of the package. synopsis:            Generate PureScript data types from Haskell data types@@ -84,11 +84,12 @@   -- Base language which the package is written in.   default-language:    Haskell2010 -Test-Suite tests-    type:       detailed-0.9-    test-module: Tests-    build-depends: base-                , Cabal >= 1.9.2-                , HUnit-                , purescript-bridge-    hs-source-dirs: test++-- Test-Suite tests+--     type:       detailed-0.9+--     test-module: Tests+--     build-depends: base+--                 , Cabal >= 1.9.2+--                 , HUnit+--                 , purescript-bridge+--     hs-source-dirs: test
− test/Tests.hs
@@ -1,36 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-module Tests (tests) where---import Distribution.TestSuite as T-import Test.HUnit---import Data.Proxy-import Language.PureScript.Bridge.TypeInfo---testTypeInfo :: IO Progress-testTypeInfo = do-  let expected = TypeInfo {-    typePackage = "ghc-prim"-  , typeModule = "GHC.Types"-  , typeName = "Int"-  , typeParameters = []-  }-  let tests = test ["Int Test" ~: expected ~=? mkTypeInfo (Proxy :: Proxy Int)]-  r <- runTestTT tests-  return $ if errors r == 0-    then Finished Pass-    else Finished $ Fail (show r)--tests :: IO [T.Test]-tests = return [ Test test1]-  where-    test1 = TestInstance-        { run = testTypeInfo-        , name = "Test TypeInfo code"-        , tags = []-        , options = []-        , setOption = \_ _ -> Right test1-        }