git.iko.soy/typeable/servant
on master help sign in
Fix servant-client tests to properly use hspec-discover.

For some reason hspec-discover wasn't enabled for servant-client, causing test cases to be skipped and fasely reporting servant-client as test-passing whilst it was actually supposed to fail the tests. For example, we redefined BaseUrl recently to have a path field, but the tests don't reflect that yet but passed anyway. Because the test case wasn't even discovered and run.

commit8cf4acf2fc4dc07b77ce8f9818908b79174f3b27 authorArian van Putten <aeroboy94@gmail.com> dateMon 5 Oct 2015, 00:51 (11 years ago) parent52b58d0
1 file changed+1−6
servant-client/test/Spec.hs+1−6
servant-client/test/Spec.hs+1−6
@@ -1,7 +1,2 @@
1−import Servant.ClientSpec (failSpec, spec)
2−
3−main :: IO ()
4−main = do
5− spec
6− failSpec
1+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
72