15 lines
325 B
Haskell
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"]
|