From 82b9e3f4bf70e911916cf000655cdae2492060df Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 25 Sep 2022 23:37:49 +0300 Subject: Add a test to suite --- lang.cabal | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lang.cabal') diff --git a/lang.cabal b/lang.cabal index a4025d5..bb88c6e 100644 --- a/lang.cabal +++ b/lang.cabal @@ -37,7 +37,8 @@ library src ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints build-depends: - base >=4.7 && <5 + HUnit ==1.6.2.0 + , base >=4.7 && <5 , containers , haskeline ==0.8.2 , mtl @@ -52,7 +53,8 @@ executable lang-exe app ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N build-depends: - base >=4.7 && <5 + HUnit ==1.6.2.0 + , base >=4.7 && <5 , containers , haskeline ==0.8.2 , lang @@ -64,12 +66,14 @@ test-suite lang-test type: exitcode-stdio-1.0 main-is: Spec.hs other-modules: + TestUtils Paths_lang hs-source-dirs: test ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N build-depends: - base >=4.7 && <5 + HUnit ==1.6.2.0 + , base >=4.7 && <5 , containers , haskeline ==0.8.2 , lang -- cgit v1.3