Base.hs 332 B

12345678910111213141516
  1. {-# LANGUAGE OverloadedStrings #-}
  2. module Base (simpleTest) where
  3. import Distribution.TestSuite
  4. simpleTest :: String -> IO Progress -> Test
  5. simpleTest n t =
  6. let test = TestInstance
  7. {run = t,
  8. name = n,
  9. tags = [],
  10. options = [],
  11. setOption = \_ _ -> Right test
  12. }
  13. in Test test