diff --git a/test/sample5.bz2 b/test/sample5.bz2 new file mode 100644 index 0000000..821e720 Binary files /dev/null and b/test/sample5.bz2 differ diff --git a/test/sample5.ref b/test/sample5.ref new file mode 100644 index 0000000..3fa5a6d Binary files /dev/null and b/test/sample5.ref differ diff --git a/test/test.hs b/test/test.hs index 6aa0523..39aa39b 100644 --- a/test/test.hs +++ b/test/test.hs @@ -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")