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.
This commit is contained in:
parent
52b58d0fe9
commit
8cf4acf2fc
1 changed files with 1 additions and 6 deletions
|
@ -1,7 +1,2 @@
|
||||||
import Servant.ClientSpec (failSpec, spec)
|
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
|
||||||
|
|
||||||
main :: IO ()
|
|
||||||
main = do
|
|
||||||
spec
|
|
||||||
failSpec
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue