Skip to content

Commit 0402d48

Browse files
committed
Update golden tests
1 parent fc13d7f commit 0402d48

12 files changed

+48
-30
lines changed

cabal-install/tests/fixtures/init/golden/cabal/cabal-lib-and-exe-no-comments.golden

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,18 @@ build-type: Simple
1414
extra-doc-files: CHANGELOG.md
1515
-- extra-source-files:
1616

17-
common warnings
18-
ghc-options: -Wall
17+
common extensions
18+
default-language: GHC2021
19+
20+
common ghc-options
21+
ghc-options: -Wall -Widentities -Wcompat
22+
23+
common rts-options
24+
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
1925

2026
library
2127
import: extensions
2228
import: ghc-options
23-
import: rts-options
2429
exposed-modules: MyLib
2530
-- other-modules:
2631
-- other-extensions:

cabal-install/tests/fixtures/init/golden/cabal/cabal-lib-and-exe-with-comments.golden

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,14 @@ extra-doc-files: CHANGELOG.md
5454
-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
5555
-- extra-source-files:
5656

57-
common warnings
58-
ghc-options: -Wall
57+
common extensions
58+
default-language: GHC2021
59+
60+
common ghc-options
61+
ghc-options: -Wall -Widentities -Wcompat
62+
63+
common rts-options
64+
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
5965

6066
library
6167
-- Common language extensions
@@ -64,9 +70,6 @@ library
6470
-- Common compiler warnings and optimisations
6571
import: ghc-options
6672

67-
-- Common RTS options
68-
import: rts-options
69-
7073
-- Modules exported by the library.
7174
exposed-modules: MyLib
7275

cabal-install/tests/fixtures/init/golden/cabal/cabal-lib-no-comments.golden

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,18 @@ build-type: Simple
1414
extra-doc-files: CHANGELOG.md
1515
-- extra-source-files:
1616

17-
common warnings
18-
ghc-options: -Wall
17+
common extensions
18+
default-language: GHC2021
19+
20+
common ghc-options
21+
ghc-options: -Wall -Widentities -Wcompat
22+
23+
common rts-options
24+
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
1925

2026
library
2127
import: extensions
2228
import: ghc-options
23-
import: rts-options
2429
exposed-modules: MyLib
2530
-- other-modules:
2631
-- other-extensions:

cabal-install/tests/fixtures/init/golden/cabal/cabal-lib-with-comments.golden

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,14 @@ extra-doc-files: CHANGELOG.md
5454
-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
5555
-- extra-source-files:
5656

57-
common warnings
58-
ghc-options: -Wall
57+
common extensions
58+
default-language: GHC2021
59+
60+
common ghc-options
61+
ghc-options: -Wall -Widentities -Wcompat
62+
63+
common rts-options
64+
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
5965

6066
library
6167
-- Common language extensions
@@ -64,9 +70,6 @@ library
6470
-- Common compiler warnings and optimisations
6571
import: ghc-options
6672

67-
-- Common RTS options
68-
import: rts-options
69-
7073
-- Modules exported by the library.
7174
exposed-modules: MyLib
7275

cabal-install/tests/fixtures/init/golden/cabal/cabal-test-suite-no-comments.golden

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,14 @@ build-type: Simple
1414
extra-doc-files: CHANGELOG.md
1515
-- extra-source-files:
1616

17-
common warnings
18-
ghc-options: -Wall
17+
common extensions
18+
default-language: GHC2021
19+
20+
common ghc-options
21+
ghc-options: -Wall -Widentities -Wcompat
22+
23+
common rts-options
24+
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
1925

2026
test-suite y-test
2127
import: extensions

cabal-install/tests/fixtures/init/golden/cabal/cabal-test-suite-with-comments.golden

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,14 @@ extra-doc-files: CHANGELOG.md
5454
-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
5555
-- extra-source-files:
5656

57-
common warnings
58-
ghc-options: -Wall
57+
common extensions
58+
default-language: GHC2021
59+
60+
common ghc-options
61+
ghc-options: -Wall -Widentities -Wcompat
62+
63+
common rts-options
64+
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
5965

6066
test-suite y-test
6167
-- Common language extensions

cabal-install/tests/fixtures/init/golden/lib/lib-build-tools-with-comments.golden

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ library
55
-- Common compiler warnings and optimisations
66
import: ghc-options
77

8-
-- Common RTS options
9-
import: rts-options
10-
118
-- Modules exported by the library.
129
exposed-modules: MyLib
1310

cabal-install/tests/fixtures/init/golden/lib/lib-minimal-no-comments.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
library
22
import: extensions
33
import: ghc-options
4-
import: rts-options
54
exposed-modules: MyLib
65
build-depends: base
76
hs-source-dirs: src

cabal-install/tests/fixtures/init/golden/lib/lib-no-comments.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
library
22
import: extensions
33
import: ghc-options
4-
import: rts-options
54
exposed-modules: MyLib
65
-- other-modules:
76
-- other-extensions:

cabal-install/tests/fixtures/init/golden/lib/lib-simple-minimal-with-comments.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
library
22
import: extensions
33
import: ghc-options
4-
import: rts-options
54
exposed-modules: MyLib
65
build-depends: base
76
hs-source-dirs: src

0 commit comments

Comments
 (0)