ghc-mod/test/ListSpec.hs

14 lines
306 B
Haskell
Raw Normal View History

2013-02-12 05:06:22 +00:00
module ListSpec where
import Control.Applicative
2013-05-20 02:29:44 +00:00
import Language.Haskell.GhcMod
import Test.Hspec
import TestUtils
2013-02-12 05:06:22 +00:00
spec :: Spec
spec = do
describe "modules" $ do
it "contains at least `Data.Map'" $ do
2014-08-20 03:14:27 +00:00
mdls <- runD $ lines <$> modules
mdls `shouldContain` ["Data.Map"]