brushing up tests.

This commit is contained in:
Kazu Yamamoto
2013-03-13 12:48:26 +09:00
parent 85ab14975d
commit 9e54c8c87b
2 changed files with 2 additions and 32 deletions

View File

@@ -9,7 +9,7 @@ spec = do
describe "cabalAllDependPackages" $ do
it "extracts dependent packages" $ do
pkgs <- cabalAllDependPackages <$> cabalParseFile "test/data/cabalapi.cabal"
pkgs `shouldBe` ["Cabal","base","containers","convertible","directory","filepath","ghc","ghc-paths","ghc-syb-utils","hlint","hspec","io-choice","old-time","process","regex-posix","syb","time","transformers"]
pkgs `shouldBe` ["Cabal","base","template-haskell"]
describe "cabalBuildInfo" $ do
it "extracts build info" $ do