Reimplement `cabal check` (#8427)
[cabal.git] / cabal-testsuite / PackageTests / DuplicateModuleName / tests2 / Foo.hs
blob68836baa8e3aeeafc5e8b11d0ac854f3f8201ee3
1 {-# LANGUAGE PackageImports #-}
2 module Foo where
4 import Distribution.TestSuite
5 import qualified "DuplicateModuleName" Foo as T
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
18 this_is_test2 = True