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
Merge pull request #10493 from Sdywolf/doc-refine/repl
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
Backpack
/
Includes3
/
setup-internal.test.hs
blob
7cecb11eb670fdfd3efdde9cc54a17f5e6fd499c
1
import
Test
.
Cabal
.
Prelude
2
main
=
setupAndCabalTest
$
do
3
skipUnlessGhcVersion
">= 8.1"
4
withPackageDb
$
do
5
setup_install
[]
6
_
<-
runM
"touch"
[
"repo/indef-0.1.0.0/Foo.hs"
]
Nothing
7
setup
"build"
[]
8
runExe
'
"exe"
[] >>=
assertOutputContains
"fromList [(0,2),(2,4)]"
9