Skip to content

Commit f1a4887

Browse files
authored
Merge pull request #4826 from phadej/issue-2661
Fixes #2661. Add a regression test, issue is already fixed
2 parents 63f1490 + 2d2acd8 commit f1a4887

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Cabal/tests/ParserTests/regressions/issue-774.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ cabal-version: >=1.10
1414
library
1515
default-language: Haskell2010
1616
exposed-modules: Issue
17+
18+
-- Test for round-trip of ghc-options here too
19+
-- See https://github.com/haskell/cabal/issues/2661
20+
ghc-options: -Wall -threaded "-with-rtsopts=-N -s -M1G -c" -rtsopts

Cabal/tests/ParserTests/regressions/issue-774.format

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ build-type: Simple
1515
library
1616
exposed-modules:
1717
Issue
18-
default-language: Haskell2010
18+
default-language: Haskell2010
19+
ghc-options: -Wall -threaded "-with-rtsopts=-N -s -M1G -c" -rtsopts

0 commit comments

Comments
 (0)