Skip to content

Commit aed3a9d

Browse files
committed
Add expectBroken test for #7423
1 parent 42da820 commit aed3a9d

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# cabal check
2+
No errors or warnings could be found in the package.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import Test.Cabal.Prelude
2+
3+
main = cabalTest . expectBroken 7423 $ cabal "check" []
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
cabal-version: 2.2
2+
name: pkg
3+
version: 0
4+
category: example
5+
maintainer: [email protected]
6+
synopsis: synopsys
7+
description: description
8+
license: GPL-3.0-or-later
9+
10+
flag force-O2
11+
default: False
12+
manual: True
13+
14+
library
15+
-- hs-source-dirs: lib
16+
exposed-modules: Foo
17+
default-language: Haskell2010
18+
if flag(force-O2)
19+
ghc-options: -O2

0 commit comments

Comments
 (0)