31e3c0b500
- Remove some CPP needed only because of GHC 7.4 (which is not supported now, yey) - Move CPP for GHC 8 to Gap module
15 lines
342 B
Haskell
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"]
|