diff --git a/hydra-test-utils/hydra-test-utils.cabal b/hydra-test-utils/hydra-test-utils.cabal index f602b1606b2..b8e616813d3 100644 --- a/hydra-test-utils/hydra-test-utils.cabal +++ b/hydra-test-utils/hydra-test-utils.cabal @@ -58,7 +58,7 @@ test-suite hydra-test-util-tests import: package-config hs-source-dirs: test other-modules: - HydraTestUtilsSpec + Spec Test.HSpec.MarkdownFormatterSpec main-is: Main.hs diff --git a/hydra-test-utils/test/HydraTestUtilsSpec.hs b/hydra-test-utils/test/HydraTestUtilsSpec.hs deleted file mode 100644 index cef127d9e52..00000000000 --- a/hydra-test-utils/test/HydraTestUtilsSpec.hs +++ /dev/null @@ -1 +0,0 @@ -{-# OPTIONS_GHC -F -pgmF hspec-discover -optF --module-name=HydraTestUtilsSpec #-} diff --git a/hydra-test-utils/test/Main.hs b/hydra-test-utils/test/Main.hs index b995e6b5187..973ee182f26 100644 --- a/hydra-test-utils/test/Main.hs +++ b/hydra-test-utils/test/Main.hs @@ -1,9 +1,9 @@ module Main where import Hydra.Prelude -import HydraTestUtilsSpec qualified +import Spec qualified import Test.Hspec.Runner import Test.Hydra.Prelude (combinedHspecFormatter) main :: IO () -main = hspecWith defaultConfig{configFormat = Just (combinedHspecFormatter "hydra-test-utils")} HydraTestUtilsSpec.spec +main = hspecWith defaultConfig{configFormat = Just (combinedHspecFormatter "hydra-test-utils")} Spec.spec diff --git a/hydra-test-utils/test/Spec.hs b/hydra-test-utils/test/Spec.hs new file mode 100644 index 00000000000..5416ef6a866 --- /dev/null +++ b/hydra-test-utils/test/Spec.hs @@ -0,0 +1 @@ +{-# OPTIONS_GHC -F -pgmF hspec-discover -optF --module-name=Spec #-}