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 #10525 from 9999years/field-stanza-names
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
PackageDB
/
cabal-fail-no-p.test.hs
blob
1ddcac2f8bba3319b3950a6d4fc5739967587480
1
import
Test
.
Cabal
.
Prelude
2
main
=
cabalTest
$
do
3
withPackageDb
$
do
4
withDirectory
"p"
$
5
setup_install
[]
6
7
withDirectory
"q"
$
do
8
res
<-
fails
$
cabal
'
"v2-build"
[]
9
assertOutputContains
"unknown package: p"
res