{-# LANGUAGE PackageImports #-} module Foo where import Distribution.TestSuite import qualified "DuplicateModuleName" Foo as T tests :: IO [Test] tests = do r <- T.tests return $ [Test $ TestInstance { run = return (Finished (Fail "C")) , name = "test C" , tags = [] , options = [] , setOption = \_ _-> Left "No Options" }] ++ r this_is_test2 = True