ghc-mod/test/ListSpec.hs
2017-01-12 17:05:47 +01:00

15 lines
310 B
Haskell

module ListSpec where
import Control.Applicative
import GhcMod
import Test.Hspec
import TestUtils
import Prelude
spec :: Spec
spec = do
describe "modules" $ do
it "contains at least `Data.Map'" $ do
mdls <- runD $ lines <$> modules False
mdls `shouldContain` ["Data.Map"]