repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add migration guide for #9718 (#10578)
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
Init
/
init-interactive-ghc2021.test.hs
blob
7df3f662212f426ce070c73479bb095d546a4bdc
1
import
Test
.
Cabal
.
Prelude
2
3
main
=
cabalTest
$
do
4
env
<-
getTestEnv
5
buildOut
<-
6
cabalWithStdin
"init"
[
"-i"
,
"-p"
,
"app"
]
7
"2
\n\n
5
\n\n\n
2
\n\n\n\n\n\n\n
3
\n\n
"
8
9
assertFileDoesContain
(
testCurrentDir env
</>
"app.cabal"
)
"GHC2021"