Skip to content

Commit

Permalink
TST Futher failing test
Browse files Browse the repository at this point in the history
sample5.bz2 is simply "cat sample1.bz2 sample1.bz2" (and sample5.ref is
"cat sample1.ref sample1.ref"). This is handled by bzip2 tools
(including the official tool and wrapper such as the Python wrapper).
  • Loading branch information
luispedro committed Aug 2, 2019
1 parent 18bf467 commit 46bf610
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file added test/sample5.bz2
Binary file not shown.
Binary file added test/sample5.ref
Binary file not shown.
3 changes: 2 additions & 1 deletion test/test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import Prelude as P
main :: IO ()
main = hspec $ do
describe "decompress" $ do
forM_ ["sample1", "sample2", "sample3", "sample4"] $ \file -> do
forM_ [1..5] $ \n -> do
let file = "sample"++show n
it ("correctly " ++ file ++ ".bz2") $ do
dec <- runConduitRes
$ sourceFile ("test/" ++ file ++ ".bz2")
Expand Down

0 comments on commit 46bf610

Please sign in to comment.