Merge pull request #10634 from cabalism/hlint/unused-lang-pragma
[cabal.git] / cabal-testsuite / PackageTests / ShowBuildInfo / A / build-info-exe.test.hs
bloba27bf2d81671123a8fb77502bd00d22631df37ee
1 {-# LANGUAGE OverloadedStrings #-}
2 import Test.Cabal.Prelude
3 import Test.Cabal.DecodeShowBuildInfo
5 main = cabalTest $ do
6 runShowBuildInfo ["exe:A"]
7 withPlan $ do
8 assertComponent "A" (exe "A")
9 defCompAssertion
10 { sourceFiles = ["Main.hs"]
11 , sourceDirs = ["src"]
12 -- does not list lib as a target
13 , compilerArgsPred = all (/= "A-0.1.0.0-inplace")