diff --git a/haskell/Main.hs b/haskell/Main.hs index 136f0c2..1078f41 100644 --- a/haskell/Main.hs +++ b/haskell/Main.hs @@ -56,8 +56,7 @@ main = ) [] ) - <> [ TestTree - "extra" - (\(input, _, os) -> pure (input, os)) - $ extraTests isRealData ("../outputs/" <> t <> "/" <> pt <> "/extra/") - ] + <> let ts = extraTests isRealData ("../outputs/" <> t <> "/" <> pt <> "/extra/") + in if null ts + then [] + else [TestTree "extra" (\(input, _, os) -> pure (input, os)) ts]