Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed Test.hs so it will pick up right zip executable on Mac OSX.

  • Loading branch information...
commit a3d552ce1eee6297424a77ec0704ca387a951afc 1 parent 8000975
@jgm authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Tests.hs
View
2  Tests.hs
@@ -41,7 +41,7 @@ testReadWriteArchive = TestCase $ do
assertEqual "for writing and reading test1.zip" archive archive'
testReadExternalZip = TestCase $ do
- runCommand "zip -q -9 test-temp/test4.zip zip-archive.cabal Codec/Archive/Zip.hs" >>= waitForProcess
+ runCommand "/usr/bin/zip -q -9 test-temp/test4.zip zip-archive.cabal Codec/Archive/Zip.hs" >>= waitForProcess
archive <- toArchive <$> B.readFile "test-temp/test4.zip"
let files = filesInArchive archive
assertEqual "for results of filesInArchive" ["zip-archive.cabal", "Codec/Archive/Zip.hs"] files
Please sign in to comment.
Something went wrong with that request. Please try again.