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

15 lines
325 B
Haskell

module FlagSpec where
import Control.Applicative
import GhcMod
import Test.Hspec
import TestUtils
import Prelude
spec :: Spec
spec = do
describe "flags" $ do
it "contains at least `-fprint-explicit-foralls" $ do
f <- runD $ lines <$> flags
f `shouldContain` ["-fprint-explicit-foralls"]