From 41de7a54a2f6672302ce6edb4ad228f45287672c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Fri, 23 Aug 2013 11:12:17 +0900 Subject: [PATCH] Fix warning --- test/CabalApiSpec.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CabalApiSpec.hs b/test/CabalApiSpec.hs index df6dde4..f4da0be 100644 --- a/test/CabalApiSpec.hs +++ b/test/CabalApiSpec.hs @@ -11,7 +11,7 @@ spec :: Spec spec = do describe "parseCabalFile" $ do it "throws an exception if the cabal file is broken" $ do - parseCabalFile "test/data/broken-cabal/broken.cabal" `shouldThrow` (\(e::IOException) -> True) + parseCabalFile "test/data/broken-cabal/broken.cabal" `shouldThrow` (\(_::IOException) -> True) describe "cabalAllDependPackages" $ do it "extracts dependent packages" $ do