Skip to content

Commit 4af9fc1

Browse files
committed
Use hpack defaults for test suite
1 parent 7327299 commit 4af9fc1

2 files changed

Lines changed: 14 additions & 10 deletions

File tree

package.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,5 @@ library:
1515

1616
tests:
1717
spec:
18-
source-dirs: test
19-
main: Spec.hs
20-
dependencies:
21-
- strip
22-
- hspec == 2.*
18+
defaults: hspec/hspec@master
19+
dependencies: strip

strip.cabal

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
-- This file has been generated from package.yaml by hpack version 0.17.0.
1+
cabal-version: >= 1.10
2+
3+
-- This file has been generated from package.yaml by hpack version 0.29.5.
24
--
35
-- see: https://github.com/sol/hpack
6+
--
7+
-- hash: 0e0507078a401f6a0107021889ef4faa835ecabc74367befedd7d296baaca7eb
48

59
name: strip
610
version: 0.0.0
@@ -10,16 +14,17 @@ copyright: (c) 2013 Simon Hengel
1014
license: MIT
1115
license-file: LICENSE
1216
build-type: Simple
13-
cabal-version: >= 1.10
1417

1518
library
1619
hs-source-dirs:
1720
src
1821
ghc-options: -Wall
1922
build-depends:
20-
base == 4.*
23+
base ==4.*
2124
exposed-modules:
2225
Data.String.Strip
26+
other-modules:
27+
Paths_strip
2328
default-language: Haskell2010
2429

2530
test-suite spec
@@ -29,9 +34,11 @@ test-suite spec
2934
test
3035
ghc-options: -Wall
3136
build-depends:
32-
base == 4.*
37+
base ==4.*
38+
, hspec ==2.*
3339
, strip
34-
, hspec == 2.*
3540
other-modules:
3641
Data.String.StripSpec
42+
Paths_strip
3743
default-language: Haskell2010
44+
build-tool-depends: hspec-discover:hspec-discover == 2.*

0 commit comments

Comments
 (0)