packages feed

system-canonicalpath 0.3.1.0 → 0.3.2.0

raw patch · 3 files changed

+7/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

changelog.md view
@@ -1,3 +1,9 @@+0.3.2.0:+* fix environment variables test suite++0.3.1.0:+* fix and update test suites+ 0.3.0.0: * remove `UnsafePath` data type. It was synonym to `FilePath` and was confusing me sometimes, so I decided to cut it off * rename `cpathToText` to `toText'`
system-canonicalpath.cabal view
@@ -1,5 +1,5 @@ name:                system-canonicalpath-version:             0.3.1.0+version:             0.3.2.0 synopsis:            Abstract data type for canonical paths with some utilities description:         This library provides abstract data type named 'Filesystem.CanonicalPath.CanonicalPath' and some useful functions for working with it. homepage:            https://github.com/d12frosted/CanonicalPath
tests/CanonicalPathTests.hs view
@@ -65,15 +65,11 @@ testVariables =   assertions "test for extracting environment variables" $   do $expect $ equal' (mkPath "$HOME/") (mkPath "~/")-     $expect $ right' (mkPath "$TMPDIR")  -- Chell helpers  left' :: (Show b, Monad m) => m (Either a b) -> m Assertion left' v = v >>= \v' -> return $ left v'--right' :: (Show a, Monad m) => m (Either a b) -> m Assertion-right' v = v >>= \v' -> return $ right v'  equal' :: (Show a, Monad m, Eq a) => m a -> m a -> m Assertion equal' v w = do