Skip to content

Commit

Permalink
Rename HydraTestUtilsSpec to Spec
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Dec 9, 2024
1 parent d09f4d9 commit c1d1012
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hydra-test-utils/hydra-test-utils.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion hydra-test-utils/test/HydraTestUtilsSpec.hs

This file was deleted.

4 changes: 2 additions & 2 deletions hydra-test-utils/test/Main.hs
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions hydra-test-utils/test/Spec.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{-# OPTIONS_GHC -F -pgmF hspec-discover -optF --module-name=Spec #-}

0 comments on commit c1d1012

Please sign in to comment.