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
|
2014-07-11 01:10:37 +00:00
|
|
|
import TestUtils
|
2015-08-31 06:01:20 +00:00
|
|
|
import Prelude
|
2013-02-12 05:06:22 +00:00
|
|
|
|
|
|
|
spec :: Spec
|
|
|
|
spec = do
|
2014-07-11 01:10:37 +00:00
|
|
|
describe "modules" $ do
|
|
|
|
it "contains at least `Data.Map'" $ do
|
2015-12-05 21:56:19 +00:00
|
|
|
mdls <- runD $ lines <$> modules False
|
2014-08-20 03:14:27 +00:00
|
|
|
mdls `shouldContain` ["Data.Map"]
|