@@ -82,12 +82,12 @@ library
82 ghc-options: -O2 -Wall
82 ghc-options: -O2 -Wall
83 default-language: Haskell2010
83 default-language: Haskell2010
85−test-suite tests
85+test-suite pure-tests
86 main-is: Spec.hs
86 main-is: Spec.hs
87 other-modules: Network.HTTP.ReqSpec
87 other-modules: Network.HTTP.ReqSpec
88− hs-source-dirs: tests
88+ hs-source-dirs: pure-tests
89 type: exitcode-stdio-1.0
89 type: exitcode-stdio-1.0
90− build-depends: QuickCheck >= 2.7 && < 3.0
90+ build-depends: QuickCheck >= 2.7 && < 3.0
91 , base >= 4.7 && < 5.0
91 , base >= 4.7 && < 5.0
92 , hspec >= 2.0 && < 3.0
92 , hspec >= 2.0 && < 3.0
93 , req >= 0.1.0
93 , req >= 0.1.0
@@ -96,3 +96,17 @@ test-suite tests
97 ghc-options: -O2 -Wall
97 ghc-options: -O2 -Wall
98 default-language: Haskell2010
98 default-language: Haskell2010
100+test-suite httpbin-tests
102+ other-modules: Network.HTTP.ReqSpec
103+ hs-source-dirs: httpbin-tests
104+ type: exitcode-stdio-1.0
105+ build-depends: base >= 4.7 && < 5.0
106+ , hspec >= 2.0 && < 3.0
109+ ghc-options: -Wall -Werror
111+ ghc-options: -O2 -Wall
112+ default-language: Haskell2010