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 “Ignore warning” option to cabal check
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
ReexportedModules
/
setup-fail-ambiguous.test.hs
blob
c3e2d2045643a1bb07a29b6c2021ea8d573f2ef9
1
import
Test
.
Cabal
.
Prelude
2
main
=
setupAndCabalTest
$
do
3
skipUnlessGhcVersion
">= 7.9"
4
withPackageDb
$
do
5
withDirectory
"containers-dupe"
$
6
setup_install
[]
7
withDirectory
"p-fail-ambiguous"
$
do
8
r
<-
fails
$
setup
'
"configure"
[]
9
assertOutputContains
"Data.Map"
r