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