ghcup-hs/3rdparty/os-release/tests/Main.hs

17 lines
285 B
Haskell
Raw Permalink Normal View History

2020-07-04 21:28:30 +00:00
import Golden.Real
import Specs.Megaparsec
import Test.Tasty
import Test.Tasty.Hspec
main :: IO ()
main = do
ms <- testSpec "megaparsec spec" megaparsecSpec
gs <- goldenTests
defaultMain (tests [ms, gs])
tests :: [TestTree] -> TestTree
tests ts = testGroup "Tests" (ts++[])