ghc-mod/test/FlagSpec.hs
Daniel Gröber 31e3c0b500 Housekeeping for GHC 8
- Remove some CPP needed only because of GHC 7.4 (which is not supported
  now, yey)
- Move CPP for GHC 8 to Gap module
2016-05-22 03:47:07 +02:00

15 lines
342 B
Haskell

module FlagSpec where
import Control.Applicative
import Language.Haskell.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"]