~kaction/cookiecutter-haskell

48349e7ecaa707c8a1af3e8c47facad4dcac32f5 — Dmitry Bogatov 1 year, 5 months ago c1b1a12
Drop hedgehog from dependencies of tests

I don't really like groundhog, and I see absolutely no reason why it would be
default dependency for tests.
2 files changed, 1 insertions(+), 12 deletions(-)

M {{cookiecutter.project_name}}/package.yaml
M {{cookiecutter.project_name}}/test/Main.hs
M {{cookiecutter.project_name}}/package.yaml => {{cookiecutter.project_name}}/package.yaml +0 -1
@@ 36,4 36,3 @@ tests:
      - -threaded
    dependencies:
      - {{cookiecutter.project_name}}
      - hedgehog

M {{cookiecutter.project_name}}/test/Main.hs => {{cookiecutter.project_name}}/test/Main.hs +1 -11
@@ 1,14 1,4 @@
{-# LANGUAGE TemplateHaskell #-}

module Main where

import Hedgehog
import Hedgehog.Main
import {{cookiecutter.module}}

prop_test :: Property
prop_test = property $ do
  do{{cookiecutter.module}} === "{{cookiecutter.module}}"

main :: IO ()
main = defaultMain [checkParallel $$(discover)]
main = pure ()