Skip to content

Commit 5f5c040

Browse files
committed
Add expectBroken test for haskell#7423
1 parent 42da820 commit 5f5c040

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-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: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
exposed-modules: Foo
16+
default-language: Haskell2010
17+
if flag(force-O2)
18+
ghc-options: -O2

0 commit comments

Comments
 (0)