diff --git a/test/CabalApiSpec.hs b/test/CabalApiSpec.hs index 90aa9a7..3a2c67a 100644 --- a/test/CabalApiSpec.hs +++ b/test/CabalApiSpec.hs @@ -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 diff --git a/test/data/cabalapi.cabal b/test/data/cabalapi.cabal index 820a4aa..443a25e 100644 --- a/test/data/cabalapi.cabal +++ b/test/data/cabalapi.cabal @@ -46,21 +46,7 @@ Executable ghc-mod GHC-Options: -Wall Build-Depends: base >= 4.0 && < 5 , Cabal >= 1.10 - , containers - , convertible - , directory - , filepath - , ghc - , ghc-paths - , ghc-syb-utils - , hlint >= 1.7.1 - , io-choice - , old-time - , process - , regex-posix - , syb - , time - , transformers + , template-haskell Test-Suite spec Main-Is: Spec.hs @@ -75,22 +61,6 @@ Test-Suite spec ListSpec Build-Depends: base >= 4.0 && < 5 , Cabal >= 1.10 - , containers - , convertible - , directory - , filepath - , ghc - , ghc-paths - , ghc-syb-utils - , hlint >= 1.7.1 - , io-choice - , old-time - , process - , regex-posix - , syb - , time - , transformers - , hspec Source-Repository head Type: git