M balkon.cabal => balkon.cabal +4 -0
@@ 107,6 107,10 @@ test-suite balkon-test
bytestring ^>=0.11.4.0,
filepath ^>=1.4.100.0,
hspec,
+ hspec-discover,
hspec-golden ^>=0.2.0.0,
harfbuzz-pure ^>=1.0.2.0,
text ^>=2.0.1
+
+ build-tool-depends:
+ hspec-discover:hspec-discover
M test/Spec.hs => test/Spec.hs +1 -14
@@ 1,14 1,1 @@
-import Test.Hspec
-
-import qualified Data.Text.ParagraphLayoutSpec
-import qualified Data.Text.ParagraphLayout.RunSpec
-
-main :: IO ()
-main = hspec spec
-
-spec :: Spec
-spec = do
- describe "Data.Text.ParagraphLayout"
- Data.Text.ParagraphLayoutSpec.spec
- describe "Data.Text.ParagraphLayout.Run"
- Data.Text.ParagraphLayout.RunSpec.spec
+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}