cabal-test-bin 0.1.4 → 0.1.5
raw patch · 3 files changed
+7/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- cabal-test-bin.cabal +1/−1
- tests/test.hs +2/−2
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.1.5++* Fix test+ ## 0.1.4 * Add library and test
cabal-test-bin.cabal view
@@ -1,5 +1,5 @@ name: cabal-test-bin-version: 0.1.4+version: 0.1.5 synopsis: A program for finding temporary build file during cabal-test. description: cabal-test-bin finds exe-file for cabal test below .
tests/test.hs view
@@ -17,6 +17,6 @@ `catch` (\(_::SomeException) -> (getExePath "." "cabal-test-bin" `shouldReturnRegex` "./dist/dist-sandbox-(.*)/cabal-test-bin/cabal-test-bin")) it "getExeDir" $ do- (getExePath "." "cabal-test-bin" `shouldReturn` "./dist/build/cabal-test-bin")+ (getExeDir "." "cabal-test-bin" `shouldReturn` "./dist/build/cabal-test-bin") `catch`- (\(_::SomeException) -> (getExePath "." "cabal-test-bin" `shouldReturnRegex` "./dist/dist-sandbox-(.*)/cabal-test-bin"))+ (\(_::SomeException) -> (getExeDir "." "cabal-test-bin" `shouldReturnRegex` "./dist/dist-sandbox-(.*)/cabal-test-bin"))