ghc-mod/test/LangSpec.hs

15 lines
342 B
Haskell
Raw Normal View History

2013-02-12 05:06:22 +00:00
module LangSpec where
import Control.Applicative
2013-05-20 02:29:44 +00:00
import Language.Haskell.GhcMod
import Test.Hspec
import TestUtils
2015-08-31 06:01:20 +00:00
import Prelude
2013-02-12 05:06:22 +00:00
spec :: Spec
spec = do
describe "languages" $ do
it "contains at lest `OverloadedStrings'" $ do
exts <- runD $ lines <$> languages
exts `shouldContain` ["OverloadedStrings"]