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
(cabal check) Add "No internal name clash" test
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
Regression
/
T4270
/
Test.hs
blob
24dbc04dca3fee85787c40fbb7326eb1d7fab4c4
1
module
Test
where
2
3
import
Lib
4
5
import
Distribution
.
TestSuite
6
7
tests
::
IO
[
Test
]
8
tests
=
return
[
Test bar
]
9
where
10
bar
=
TestInstance
11
{
run
=
return
$
Finished run
12
,
name
=
"test"
13
,
tags
= []
14
,
options
= []
15
,
setOption
= \
_ _
->
Right bar
16
}
17
run
=
if
foo
then
Pass
else
Fail
"should pass"