brushing up tests.
This commit is contained in:
parent
85ab14975d
commit
9e54c8c87b
@ -9,7 +9,7 @@ spec = do
|
|||||||
describe "cabalAllDependPackages" $ do
|
describe "cabalAllDependPackages" $ do
|
||||||
it "extracts dependent packages" $ do
|
it "extracts dependent packages" $ do
|
||||||
pkgs <- cabalAllDependPackages <$> cabalParseFile "test/data/cabalapi.cabal"
|
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
|
describe "cabalBuildInfo" $ do
|
||||||
it "extracts build info" $ do
|
it "extracts build info" $ do
|
||||||
|
@ -46,21 +46,7 @@ Executable ghc-mod
|
|||||||
GHC-Options: -Wall
|
GHC-Options: -Wall
|
||||||
Build-Depends: base >= 4.0 && < 5
|
Build-Depends: base >= 4.0 && < 5
|
||||||
, Cabal >= 1.10
|
, Cabal >= 1.10
|
||||||
, containers
|
, template-haskell
|
||||||
, convertible
|
|
||||||
, directory
|
|
||||||
, filepath
|
|
||||||
, ghc
|
|
||||||
, ghc-paths
|
|
||||||
, ghc-syb-utils
|
|
||||||
, hlint >= 1.7.1
|
|
||||||
, io-choice
|
|
||||||
, old-time
|
|
||||||
, process
|
|
||||||
, regex-posix
|
|
||||||
, syb
|
|
||||||
, time
|
|
||||||
, transformers
|
|
||||||
|
|
||||||
Test-Suite spec
|
Test-Suite spec
|
||||||
Main-Is: Spec.hs
|
Main-Is: Spec.hs
|
||||||
@ -75,22 +61,6 @@ Test-Suite spec
|
|||||||
ListSpec
|
ListSpec
|
||||||
Build-Depends: base >= 4.0 && < 5
|
Build-Depends: base >= 4.0 && < 5
|
||||||
, Cabal >= 1.10
|
, 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
|
Source-Repository head
|
||||||
Type: git
|
Type: git
|
||||||
|
Loading…
Reference in New Issue
Block a user