~jaro/balkon

044087b89fc2ea4be8eef813b263f2ab09d903df — Jaro 1 year, 2 months ago 633d180
Automatically discover test specs.
2 files changed, 5 insertions(+), 14 deletions(-)

M balkon.cabal
M test/Spec.hs
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 #-}