cabal-bounds 0.8.1 → 0.8.2
raw patch · 3 files changed
+16/−4 lines, 3 filesdep ~processPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: process
API changes (from Hackage documentation)
Files
- CHANGELOG +4/−0
- cabal-bounds.cabal +2/−2
- tests/Main.hs +10/−2
CHANGELOG view
@@ -1,3 +1,7 @@+0.8.2+-----+* Minor changes regarding tests+ 0.8.1 ----- * Automatically build the setup-config file for the tests
cabal-bounds.cabal view
@@ -1,5 +1,5 @@ name: cabal-bounds-version: 0.8.1+version: 0.8.2 cabal-version: >=1.9.2 build-type: Simple license: BSD3@@ -107,7 +107,7 @@ base >=3 && <5, tasty >=0.7 && <0.9, tasty-golden >=2.2.0.2 && <2.3,- process >=1.1.0.2 && <1.2,+ process >=1.1.0.2 && <1.3, filepath >=1.3.0.1 && <1.4, directory >=1.0.0.0 && <1.3, Glob >=0.7 && <0.8,
tests/Main.hs view
@@ -17,6 +17,7 @@ main :: IO () main = ensureSetupConfig >> T.defaultMain tests + ensureSetupConfig :: IO () ensureSetupConfig = do configExists <- Dir.doesFileExist $ "tests" </> "inputFiles" </> "setup-config"@@ -42,9 +43,11 @@ Dir.removeDirectoryRecursive $ buildDir </> "dist" Dir.setCurrentDirectory prevDir + tests :: T.TestTree-tests = T.testGroup "Tests" [dropTests, updateTests]+tests = T.testGroup "Tests" [dropTests, updateTests, dumpTests] + dropTests :: T.TestTree dropTests = T.testGroup "Drop Tests" [ test "DropBothOfAll" defaultDrop@@ -103,7 +106,12 @@ , testWithoutSetupConfig "UpdateByHaskellPlatform" $ defaultUpdate { haskellPlatform = "2013.2.0.0" } , test "UpdateByHaskellPlatformAndSetupConfig" $ defaultUpdate { haskellPlatform = "2013.2.0.0" } , testWithoutSetupConfig "FromFile" $ defaultUpdate { upper = True, fromFile = "tests" </> "inputFiles" </> "FromFile.hs" }- , testWithoutSetupConfig "Dump" $ defaultDump+ ]+++dumpTests :: T.TestTree+dumpTests = T.testGroup "Dump Tests"+ [ testWithoutSetupConfig "Dump" $ defaultDump ]