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

15 lines
325 B
Haskell

module LangSpec where
import Control.Applicative
import GhcMod
import Test.Hspec
import TestUtils
import Prelude
spec :: Spec
spec = do
describe "languages" $ do
it "contains at lest `OverloadedStrings'" $ do
exts <- runD $ lines <$> languages
exts `shouldContain` ["OverloadedStrings"]