ghc-mod/test/ListSpec.hs
2015-12-06 00:56:19 +03:00

15 lines
327 B
Haskell

module ListSpec where
import Control.Applicative
import Language.Haskell.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"]