ghc-mod/test/LangSpec.hs
2013-02-12 14:09:42 +09:00

15 lines
329 B
Haskell

module LangSpec where
import Control.Applicative
import Test.Hspec
import Expectation
import Lang
import Types
spec :: Spec
spec = do
describe "listLanguages" $ do
it "lists up language extensions" $ do
exts <- lines <$> listLanguages defaultOptions
exts `shouldContain` "OverloadedStrings"