ghc-mod/test/FlagSpec.hs
Daniel Gröber 4aa75818d8 Fix tests
2015-08-31 08:32:31 +02:00

15 lines
329 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 `-fno-warn-orphans'" $ do
f <- runD $ lines <$> flags
f `shouldContain` ["-fno-warn-orphans"]