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
Create changelogs for 3.14.1.0 (#10591)
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
DuplicateModuleName
/
tests2
/
Foo.hs
blob
68836baa8e3aeeafc5e8b11d0ac854f3f8201ee3
1
{-# LANGUAGE PackageImports #-}
2
module
Foo
where
3
4
import
Distribution
.
TestSuite
5
import qualified
"DuplicateModuleName"
Foo
as
T
6
7
tests
::
IO
[
Test
]
8
tests
=
do
9
r
<-
T
.
tests
10
return
$ [
Test
$
TestInstance
11
{
run
=
return
(
Finished
(
Fail
"C"
))
12
,
name
=
"test C"
13
,
tags
= []
14
,
options
= []
15
,
setOption
= \
_ _
->
Left
"No Options"
16
}] ++
r
17
18
this_is_test2
=
True